Slippers Engine
 
Loading...
Searching...
No Matches
Translations

Translations

static void MathTools::ChangePos (Matrix &world, float x, float y, float z)
 Changes world position based on current position.
 
static void MathTools::SetPos (Matrix &world, float x, float y, float z)
 Sets world position to exact XYZ coordinates.
 
static float MathTools::GetXPos (const Matrix &world)
 Returns objects X Position.
 
static float MathTools::GetYPos (const Matrix &world)
 Returns objects Y Position.
 
static float MathTools::GetZPos (const Matrix &world)
 Returns objects Z Position.
 

Detailed Description

Function Documentation

◆ ChangePos()

void MathTools::ChangePos ( Matrix & world,
float x,
float y,
float z )
static

Changes world position based on current position.

Parameters
world
x
y
z

◆ GetXPos()

float MathTools::GetXPos ( const Matrix & world)
static

Returns objects X Position.

Parameters
world
Returns
float

◆ GetYPos()

float MathTools::GetYPos ( const Matrix & world)
static

Returns objects Y Position.

Parameters
world
Returns
float

◆ GetZPos()

float MathTools::GetZPos ( const Matrix & world)
static

Returns objects Z Position.

Parameters
world
Returns
float

◆ SetPos()

void MathTools::SetPos ( Matrix & world,
float x,
float y,
float z )
static

Sets world position to exact XYZ coordinates.

Parameters
world
x
y
z