Brief Index      Full Index      I.M. Reference

Compute_Scale_Matrix


Functions

void Compute_Scale_Matrix (double x, double y, double z, float *out_matrix)

Function Documentation

void Compute_Scale_Matrix ( double  x,
double  y,
double  z,
float *  out_matrix 
)

Parameters:
x - Scale multiplier in the X direction.
y - Scale multiplier in the Y direction.
z - Scale multiplier in the Z direction.
out_matrix - Output transformation matrix, returned to the caller.

DETAILS

Compute_Scale_Matrix() produces a matrix representing a uniform scaling of the scene. x, y, and z are the scalings along the X, Y, and Z axes. These scale values are commonly positive and identical, but they do not need to be. Note, if any of (x, y, z) are zero, the matrix that results will be singular (non-invertible.)

NOTES

RESTRICTIONS

See also:
Compute_Coordinates, Set_Modelling_Matrix, Show_Device_Info

Main Index
Brief Index      Full Index      I.M. Functions