Populates two <Vec> objects with the minimum and maximum extent of a face in a <Mesh>.
int32 GetFaceExtent( int32 p_nFaceIndex, Vec a_vMin, Vec a_vMax )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_nFaceIndex | The index of the face to calculate extents for. |
<Vec> | a_vMin | A pointer to a <Vec> object in which will be stored the minimum extent of the face in 3D coordinates. |
<Vec> | a_vMax | A pointer to a <Vec> object in which will be stored the maximum extent of the face in 3D coordinates. |
None published. Please look for an example in the Simdify Scripting Language code base.