SilverScreen Solid Modeler

tm_scale_x

tm_scale_x

Previous topic Next topic  

tm_scale_x

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

void tm_scale_x( double factor, MATRIX tm )

 

double factor;    // scale factor

MATRIX tm;        // transformation matrix to receive result

 

 




Synopsis

#include "silver.h"

 

The tm_scale_x function generates a scaling matrix for factor relative to the x-axis. It then postmultiplies this matrix with tm , and stores the resulting matrix back into tm .

 

 

Parameters

factor is any double value. tm is the address of a 4x4 array of doubles.

 

 

Return Value

none.

 

 

See Also

tm_scale_y , tm_scale_z