 |
Blamite Game Engine - Strings
00402.09.29.23.0627.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;
float w
The W-coordinate of the 4D vector.
Definition: vector.h:167
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
float y
The Y-coordinate of the 3D vector, representing horizontal Y (depth) position.
Definition: vector.h:83
float x
The X-coordinate of the 3D vector, representing horizontal X (width) position.
Definition: vector.h:82
Structure representing a 3D vector.
Definition: vector.h:80
constexpr float BlamPi
Definition: math.h:13
float y
The Y-coordinate of the 4D vector.
Definition: vector.h:165
STRINGS_API BlamVector4 GetQuaternionFromRotation(BlamVector3 rotation)
Generates a quaternion from XYZ (Yaw, Pitch, Roll) rotation angles.
Definition: math.cpp:51
constexpr float BlamPi2
Definition: math.h:14
float z
The Z-coordinate of the 3D vector, representing vertical position.
Definition: vector.h:84
float x
The X-coordinate of the 2D vector, representing horizontal position.
Definition: vector.h:26
#define STRINGS_API
Definition: math.h:10
Structure representing a 4D vector.
Definition: vector.h:162
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
float x
The X-coordinate of the 4D vector.
Definition: vector.h:164
float z
The Z-coordinate of the 4D vector.
Definition: vector.h:166
STRINGS_API bool FloatIsInteger(float float_value)
Determines whether or not the specified float is a valid integer.
Definition: math.cpp:8