SilverScreen Solid Modeler

tm_rotate_z

tm_rotate_z

Previous topic Next topic  

tm_rotate_z

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

void tm_rotate_z( double angle, MATRIX tm )

 

double angle;     // rotation angle, in degrees

MATRIX tm;        // transformation matrix to receive result

 

 




Synopsis

#include "silver.h"

 

The tm_rotate_z function generates a rotation matrix for a rotation of angle degrees about the z-axis. It then postmultiplies this matrix with tm , and stores the resulting matrix back into tm .

 

 

Parameters

angle is a double specifying the rotation amount in degrees. tm is the address of a 4x4 array of doubles.

 

 

Return Value

none.

 

 

See Also

tm_rotate_x , tm_rotate_y