C4 Engine
C4 Engine API Documentation

Motor3D::GetDirectionX

Defined in:  TSMotor3D.h
Returns the direction to which the x axis is transformed by a motor.
Prototype

Vector3D GetDirectionX(voidconst;

Description
The GetDirectionX function calculates the 3D vector that results from transforming the direction vector (1, 0, 0) with the motor for which it is called.
See Also

Motor3D::GetDirectionY

Motor3D::GetDirectionZ

Motor3D::GetPosition

Motor3D::GetTransformMatrix

Motor3D::GetInverseTransformMatrix

Motor3D::GetTransformMatrices

Motor3D::SetTransformMatrix