|
class | Nz::BoundingVolume< T > |
| Math class that represents a bounding volume, a combination of a box and an oriented box. More...
|
|
class | Nz::Box< T > |
| Math class that represents a three dimensional box. More...
|
|
class | Nz::EulerAngles< T > |
| Math class that represents an Euler angle. Those describe a rotation transformation by rotating an object on its various axes in specified amounts per axis, and a specified axis order. More...
|
|
class | Nz::Frustum< T > |
| Math class that represents a frustum in the three dimensional vector space. More...
|
|
class | Nz::Matrix4< T > |
| Math class that represents a transformation of the four dimensional vector space with the notion of projectivity. More...
|
|
class | Nz::OrientedBox< T > |
| Math class that represents an oriented three dimensional box. More...
|
|
class | Nz::Plane< T > |
| Math class that represents a plane in 3D. More...
|
|
class | Nz::Quaternion< T > |
| Math class that represents an element of the quaternions. More...
|
|
class | Nz::Ray< T > |
| Math class that represents a ray or a straight line in 3D space. More...
|
|
class | Nz::Rect< T > |
| Math class that represents an axis-aligned rectangle in two dimensions. More...
|
|
class | Nz::Sphere< T > |
| Math class that represents a sphere "S2" in a three dimensional euclidean space. More...
|
|
class | Nz::Vector2< T > |
| Math class that represents an element of the two dimensional vector space. More...
|
|
class | Nz::Vector3< T > |
| Math class that represents an element of the three dimensional vector space. More...
|
|
class | Nz::Vector4< T > |
| Math class that represents an element of the three dimensional vector space with the notion of projectivity. When the fourth component is 1, it describes an 'usual' point and when it is 0, it represents the point at infinity. More...
|
|
|
template<typename T > |
T | Nz::Approach (T value, T objective, T increment) |
| Approaches the objective, beginning with value and with increment. More...
|
|
template<typename T > |
constexpr T | Nz::Clamp (T value, T min, T max) |
| Clamps value between min and max and returns the expected value. More...
|
|
template<typename T > |
std::size_t | Nz::CountBits (T value) |
| Gets number of bits set in the number. More...
|
|
template<typename T > |
constexpr T | Nz::DegreeToRadian (T degrees) |
| Converts degree to radian. More...
|
|
template<typename T > |
constexpr T | Nz::FromDegrees (T degrees) |
| Gets the unit from degree and convert it according to NAZARA_MATH_ANGLE_RADIAN. More...
|
|
template<typename T > |
constexpr T | Nz::FromRadians (T radians) |
| Gets the unit from radian and convert it according to NAZARA_MATH_ANGLE_RADIAN. More...
|
|
template<typename T > |
T | Nz::GetNearestPowerOfTwo (T number) |
| Gets the nearest power of two for the number. More...
|
|
unsigned int | Nz::GetNumberLength (signed char number) |
| Gets the number of digits to represent the number in base 10. More...
|
|
unsigned int | Nz::GetNumberLength (unsigned char number) |
| Gets the number of digits to represent the number in base 10. More...
|
|
unsigned int | Nz::GetNumberLength (int number) |
| Gets the number of digits to represent the number in base 10. More...
|
|
unsigned int | Nz::GetNumberLength (unsigned int number) |
| Gets the number of digits to represent the number in base 10. More...
|
|
unsigned int | Nz::GetNumberLength (long long number) |
| Gets the number of digits to represent the number in base 10. More...
|
|
unsigned int | Nz::GetNumberLength (unsigned long long number) |
| Gets the number of digits to represent the number in base 10. More...
|
|
unsigned int | Nz::GetNumberLength (float number, UInt8 precision) |
| Gets the number of digits to represent the number in base 10. More...
|
|
unsigned int | Nz::GetNumberLength (double number, UInt8 precision) |
| Gets the number of digits to represent the number in base 10. More...
|
|
unsigned int | Nz::GetNumberLength (long double number, UInt8 precision) |
| Gets the number of digits to represent the number in base 10. More...
|
|
template<typename T > |
unsigned int | Nz::IntegralLog2 (T number) |
| Gets the log in base 2 of integral number. More...
|
|
template<typename T > |
unsigned int | Nz::IntegralLog2Pot (T pot) |
| Gets the log in base 2 of integral number, only works for power of two ! More...
|
|
template<typename T > |
T | Nz::IntegralPow (T base, unsigned int exponent) |
| Gets the power of integrals. More...
|
|
template<typename T , typename T2 > |
constexpr T | Nz::Lerp (const T &from, const T &to, const T2 &interpolation) |
| Interpolates the value to other one with a factor of interpolation. More...
|
|
template<typename T > |
constexpr T | Nz::MultiplyAdd (T x, T y, T z) |
| Multiplies X and Y, then add Z. More...
|
|
template<typename T > |
T | Nz::NormalizeAngle (T angle) |
| Normalizes the angle. More...
|
|
template<typename T > |
bool | Nz::NumberEquals (T a, T b) |
| Checks whether two numbers are equal. More...
|
|
template<typename T > |
bool | Nz::NumberEquals (T a, T b, T maxDifference) |
| Checks whether two numbers are equal. More...
|
|
String | Nz::NumberToString (long long number, UInt8 radix) |
| Converts the number to String. More...
|
|
template<typename T > |
constexpr T | Nz::RadianToDegree (T radians) |
| Converts radian to degree. More...
|
|
long long | Nz::StringToNumber (String str, UInt8 radix, bool *ok) |
| Converts the string to number. More...
|
|
template<typename T > |
constexpr T | Nz::ToDegrees (T angle) |
| Gets the degree from unit and convert it according to NAZARA_MATH_ANGLE_RADIAN. More...
|
|
template<typename T > |
constexpr T | Nz::ToRadians (T angle) |
| Gets the radian from unit and convert it according to NAZARA_MATH_ANGLE_RADIAN. More...
|
|
2D/3D mathematics module including matrix, vector, box, sphere, quaternion, ...