RaySupreme Script API
 All Data Structures Functions Pages
Public Member Functions
TransMatrix Class Reference

Public Member Functions

 TransMatrix ()
 
 TransMatrix (float scaleX, float scaleY, float scaleZ, float rotX, float rotY, float rotZ, float posX, float posY, float posZ, float pivotX, float pivotY, float pivotZ)
 

Detailed Description

A TransMatrix can be used to transform a Vector3. Transformation supports scaling, rotation together with position and pivot changes.

Constructor & Destructor Documentation

TransMatrix::TransMatrix ( )

Creates an empty TransMatrix.

TransMatrix::TransMatrix ( float  scaleX,
float  scaleY,
float  scaleZ,
float  rotX,
float  rotY,
float  rotZ,
float  posX,
float  posY,
float  posZ,
float  pivotX,
float  pivotY,
float  pivotZ 
)

Creates a new TransMatrix based on the given scale, rotation, position and pivot values.

Parameters
scaleX
scaleY
scaleZ
rotX
rotY
rotZ
posX
posY
posZ
pivotX
pivotY
pivotZ