SilverScreen Solid Modeler

tm_inverse

tm_inverse

Previous topic Next topic  

tm_inverse

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

int tm_inverse( MATRIX tm, MATRIX tm_inv )

 

MATRIX tm;        // transformation matrix

MATRIX tm_inv;    // transformation matrix to receive result

 

 




Synopsis

#include "silver.h"

 

The tm_inverse function computes the inverse of tm and places the resulting matrix in tm_inv.

 

 

Parameters

tm and tm_inv are both the addresses of a 4x4 array of doubles.

 

 

Return Value

tm_inverse returns 0 if the inverse cannot be computed; otherwise 1.