 |
Blamite Game Engine - Strings
00390.07.02.23.1947.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
Go to the documentation of this file.
8 #define STRINGS_API __declspec(dllexport)
10 #define STRINGS_API __declspec(dllimport)
13 constexpr
float BlamPi = 3.1415926535897932384626433832795f;
14 constexpr
float BlamPi2 = 6.2831853071795864769252867665590f;
15 constexpr
float BlamPiHalf = 1.5707963267948966192313216916398f;
STRINGS_API float FloatDegreesToRadians(float float_value)
Converts a float value from Degrees to Radians.
Definition: math.cpp:20
STRINGS_API float FloatRadiansToDegrees(float float_value)
Converts a float value from Radians to Degrees.
Definition: math.cpp:25
Namespace containing math-related utilities.
Definition: math.h:21
constexpr float BlamPi
Definition: math.h:13
constexpr float BlamPi2
Definition: math.h:14
float x
The X-coordinate of the 2D vector, representing horizontal position.
Definition: vector.h:26
#define STRINGS_API
Definition: math.h:10
constexpr float BlamPiQuarter
Definition: math.h:16
STRINGS_API uint64_t GenerateRandomUInt64()
Generates a random unsigned 64-bit integer.
Definition: math.cpp:30
constexpr float BlamPiHalf
Definition: math.h:15
float y
The Y-coordinate of the 2D vector, representing vertical position.
Definition: vector.h:27
Structure representing a 2D vector.
Definition: vector.h:24
STRINGS_API float GetDistance2D(float x1, float y1, float x2, float y2)
Calculates the distance between two points in 2D space.
Definition: math.cpp:41
STRINGS_API bool FloatIsInteger(float float_value)
Determines whether or not the specified float is a valid integer.
Definition: math.cpp:8