![]() |
Blamite Game Engine - Strings
00355.06.11.22.0220.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
Namespace containing math-related utilities. More...
Functions | |
STRINGS_API bool | FloatIsInteger (float float_value) |
Determines whether or not the specified float is a valid integer. More... | |
STRINGS_API float | FloatDegreesToRadians (float float_value) |
Converts a float value from Degrees to Radians. More... | |
STRINGS_API float | FloatRadiansToDegrees (float float_value) |
Converts a float value from Radians to Degrees. More... | |
STRINGS_API uint64_t | GenerateRandomUInt64 () |
Generates a random unsigned 64-bit integer. More... | |
Namespace containing math-related utilities.
float BlamStrings::Utils::Math::FloatDegreesToRadians | ( | float | float_value | ) |
Converts a float value from Degrees to Radians.
float_value | - The value to convert, in degrees. |
bool BlamStrings::Utils::Math::FloatIsInteger | ( | float | float_value | ) |
Determines whether or not the specified float is a valid integer.
Will return false if the float value is more than 0.00001 away from an even number.
float_value | - The float to evaluate. |
true
if the float in an integer, false
if it is not. float BlamStrings::Utils::Math::FloatRadiansToDegrees | ( | float | float_value | ) |
Converts a float value from Radians to Degrees.
float_value | - The value to convert, in radians. |
uint64_t BlamStrings::Utils::Math::GenerateRandomUInt64 | ( | ) |
Generates a random unsigned 64-bit integer.