![]() |
Blamite Game Engine - Strings
A library containing general purpose utilities and classes for use in multiple projects.
|
Namespace containing functions relating to 3D world space. More...
Functions | |
STRINGS_API float | ConvertFloatToWorldUnits (float value) |
Converts a given float to the equivalent in world units. More... | |
STRINGS_API BlamDirection | GetOppositeDirection (BlamDirection direction) |
Gets the direction opposite to a given direction. More... | |
Namespace containing functions relating to 3D world space.
float BlamStrings::Utils::World::ConvertFloatToWorldUnits | ( | float | value | ) |
Converts a given float to the equivalent in world units.
World units are always on a 1:100 scale with coordinates in 3D space. For instance: An X value 3461.12 would be converted to 34.6112 world units.
BlamDirection BlamStrings::Utils::World::GetOppositeDirection | ( | BlamDirection | direction | ) |
Gets the direction opposite to a given direction.
This function will determine the opposite of any given direction. For example, if direction
is forward, then this will return Backwards, if direction
is left, it will return Right, etc.
direction | - The direction to determine the opposite of. |