|
||
void cross_product ( SS_XYZ *xyz1, SS_XYZ *xyz2, SS_XYZ *xyz3, SS_XYZ *cross )
SS_XYZ *xyz1; // a pointer to a 3D point SS_XYZ *xyz2; // a pointer to a 3D point SS_XYZ *xyz3; // a pointer to a 3D point SS_XYZ *cross; // the result, a pointer to a 3D point
|
|
|||
Synopsis |
#include "silver.h"
The cross_product function computes the cross-product of the three points at xyz1 , xyz2 and xyz3 . The cross-product is computed by the following calculation:
|
|
||
Parameters |
xyz1 , xyz2 , xyz3 and cross are all pointers to SS_XYZ structures.
|
|
||
Return Value |
none; the result is stored into cross .
|
|
||
See Also |
|