formZ SDK | 5.0 API Reference | System | Math
Description
Rotates a 3d point around one of the three orthogonal axes.
Note : pt and rot_pt can be passed as the same pointer.
Plugin Prototype
fzrt_error_td fz_math_3d_rot_pt_around_axis(
which_axis, | |
pt, | |
double | angle, |
rot_pt ) |
Parameters
which_axis [Input]
axis to rotate point about
pt [Input]
3d point to be rotated
angle [Input]
angle to rotate point about axis
rot_pt [Result]
rotated 3d point
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
Function Set
Defined in