formZ SDK | 5.0 API Reference | System | Math

fz_math_3d_xyz_rotation_vec

Description

Given three rotation angles (in z,y,x order), finds two 3d vectors which represent the world xaxis and y axis rotated by the three rotation angles.
This is the inverse function of fz_math_3d_vec_rotation_xyz.

Plugin Prototype

fzrt_error_td fz_math_3d_xyz_rotation_vec(

fz_xyz_td *

angles,

fz_xyz_td *

xaxis,

fz_xyz_td *

yaxis )

Parameters

angles [Input]

rotation angles

xaxis [Result]

x axis

yaxis [Result]

y axis

Returns

Error codes

Availability

5.0.0.0

Example Files

util_math_3d.fsl

See Also

fz_math_3d_vec_rotation_xyz

Function Set

fz_math_fset


Defined in

fz_math_api.h