|
||
void tm_to_plus_z ( SS_XYZ *p1, SS_XYZ *p2, MATRIX tm )
SS_XYZ *p1; // address of a 3D point SS_XYZ *p2; // address of a 3D point MATRIX tm; // transformation matrix
|
|
|
Synopsis |
#include "silver.h"
The tm_to_plus_z function creates a 4x4 transformation matrix in tm that results from moving point p1 to the origin, and then rotating point p2 onto the positive z-axis (holding p1 fixed on the origin).
|
|
Parameters |
p1 and p2 are both addresses of 3D points. tm is the address of a 4x4 array of doubles.
|
|
Return Value |
none.
|
|
See Also |
|
|
|
|