SilverScreen Solid Modeler

tm_rotate_x

tm_rotate_x

Previous topic Next topic  

tm_rotate_x

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

void tm_rotate_x( double angle, MATRIX tm )

 

double angle;     // rotation angle, in degrees

MATRIX tm;        // transformation matrix to receive result

 

 




Synopsis

#include "silver.h"

 

The tm_rotate_x function generates a rotation matrix for a rotation of angle degrees about the x-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_y , tm_rotate_z