|  | ||
| 
 | 
 void tm_translate ( SS_XYZ *p, MATRIX tm ) 
 SS_XYZ *p; // address of 3D point MATRIX tm; // transformation matrix 
 | 
 | 
| Synopsis | #include "silver.h" 
 The tm_translate function uses the coordinates stored in the point at p to generate a translation matrix, with x, y and z translation amounts specified by of the corresponding x , y and z members of p . It then postmultiplies this matrix with tm , and stores the resultant matrix back into tm . 
 | 
 | 
| Parameters | p is the address of a 3D point. tm is the address of a 4x4 array of doubles. 
 | 
 | 
| Return Value | none. | 
 | 
| 
 | 
 |