 |
Blamite Game Engine - Strings
00431.01.26.25.2126.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
Go to the documentation of this file.
6 #define STRINGS_API __declspec(dllexport)
8 #define STRINGS_API __declspec(dllimport)
11 #define BV3_OGRE(vector3) Ogre::Vector3(vector3.x, vector3.y, vector3.z)
12 #define OGRE_BV3(vector3) BlamVector3(vector3.x, vector3.y, vector3.z)
13 #define BV2_OGRE(vector3) Ogre::Vector2(vector3.x, vector3.y)
14 #define OGRE_BV2(vector3) BlamVector2(vector3.x, vector3.y)
58 std::string ToString();
163 std::string ToString();
254 BlamVector4(
float _x,
float _y,
float _z,
float _w);
261 std::string ToString();
BlamVector4()
Constructs a new BlamVector4.
Definition: vector.h:230
BlamVector4 operator*(const BlamVector4 &vector)
Multiplies the values of two 4D vectors.
Definition: BlamVector4.cpp:64
BlamVector4 operator+(const BlamVector4 &vector)
Combines the values of two 4D vectors.
Definition: BlamVector4.cpp:38
BlamVector3 ConvertDegreesToRadians()
Converts all coordinates in the vector from degrees to radians.
Definition: BlamVector3.cpp:35
BlamVector3()
Constructs a new BlamVector4.
Definition: vector.h:109
float w
The W-coordinate of the 4D vector.
Definition: vector.h:225
STRINGS_API float FloatDegreesToRadians(float float_value)
Converts a float value from Degrees to Radians.
Definition: math.cpp:20
#define STRINGS_API
Definition: vector.h:8
STRINGS_API float FloatRadiansToDegrees(float float_value)
Converts a float value from Radians to Degrees.
Definition: math.cpp:25
std::string ToString()
Converts the vector to a string, with each value separated by commas.
Definition: BlamVector3.cpp:18
float y
The Y-coordinate of the 3D vector, representing horizontal Y (depth) position.
Definition: vector.h:103
float x
The X-coordinate of the 3D vector, representing horizontal X (width) position.
Definition: vector.h:102
Structure representing a 3D vector.
Definition: vector.h:100
BlamVector3 operator+(const BlamVector3 &vector)
Combines the values of two 3D vectors.
Definition: BlamVector3.cpp:92
float y
The Y-coordinate of the 4D vector.
Definition: vector.h:223
std::string ToString()
Converts the vector to a string, with each value separated by commas.
Definition: BlamVector4.cpp:26
BlamVector3 ConvertRadiansToDegrees()
Converts all coordinates in the vector from radians to degrees.
Definition: BlamVector3.cpp:47
BlamVector3 ConvertForBGFX()
Converts the X/Y/Z coordinate directions from Blamite's coordinate system to the internal coordinate ...
Definition: BlamVector3.cpp:29
float z
The Z-coordinate of the 3D vector, representing vertical position.
Definition: vector.h:104
float x
The X-coordinate of the 2D vector, representing horizontal position.
Definition: vector.h:46
BlamVector3 operator-(const BlamVector3 &vector)
Subtracts the values of two 3D vectors.
Definition: BlamVector3.cpp:116
BlamVector2()
Definition: vector.h:49
STRINGS_API float Normalize(float value, float min, float max)
Normalizes a value between a minimum and maximum range.
Definition: math.cpp:67
BlamVector2 operator*(const BlamVector2 &vector)
Multiplies the values of two 2D vectors.
Definition: BlamVector2.cpp:41
Structure representing a 4D vector.
Definition: vector.h:220
bool Equals(BlamVector3 vector)
Checks if this vector is equal to another.
Definition: BlamVector3.cpp:59
BlamVector2 operator+(const BlamVector2 &vector)
Combines the values of two 2D vectors.
Definition: BlamVector2.cpp:19
void Normalize()
Normalizes the vector.
Definition: BlamVector3.cpp:79
BlamDirection
Enumerator listing possible directions.
Definition: vector.h:19
float y
The Y-coordinate of the 2D vector, representing vertical position.
Definition: vector.h:47
std::basic_string< CharT, Traits, Allocator > to_string(uuid const &id)
Definition: uuid.h:581
Structure representing a 2D vector.
Definition: vector.h:44
float x
The X-coordinate of the 4D vector.
Definition: vector.h:222
std::string ToString()
Converts the vector to a string, with each value separated by commas.
Definition: BlamVector2.cpp:9
BlamAxis
Definition: vector.h:29
float z
The Z-coordinate of the 4D vector.
Definition: vector.h:224
BlamVector3 operator*(const BlamVector3 &vector)
Multiplies the values of two 3D vectors.
Definition: BlamVector3.cpp:128