![]() |
Blamite Game Engine - Strings
00386.06.16.23.0646.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
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... | |
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. |