NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
arithmetic.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <types.h>
4
5
namespace
nw4r {
6
namespace
math {
7
9
float
FrSqrt
(
float
x);
10
12
inline
float
FSqrt
(
float
x) {
13
return
(x <= 0) ? 0.0f : x *
FrSqrt
(x);
14
}
15
16
}
// namespace math
17
}
// namespace nw4r
nw4r::math::FSqrt
float FSqrt(float x)
Computes the square root of the given value.
Definition
arithmetic.hpp:12
nw4r::math::FrSqrt
float FrSqrt(float x)
Computes the inverse square root of the given value.
include
lib
nw4r
math
arithmetic.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.12.0