Builds a rotation 4 * 4 matrix created from a normalized axis and an angle.
m Input matrix multiplied by this rotation matrix.
angle Rotation angle expressed in radians if GLM_FORCE_RADIANS is define or degrees otherwise.
axis Rotation axis, must be normalized.
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.
See also: gtx_rotate_normalized_axis
See also: - rotate(T angle, T x, T y, T z)
See also: - rotate(tmat4x4 const & m, T angle, T x, T y, T z)
See also: - rotate(T angle, tvec3 const & v)
Rotates a quaternion from a vector of 3 components normalized axis and an angle.
q Source orientation
angle Angle expressed in radians if GLM_FORCE_RADIANS is define or degrees otherwise.
axis Normalized axis of the rotation, must be normalized.
If you have any doubt about the usage of this module you can ask in the forum.
If you want to contribute better documentation or start documenting this section you can do so
If you find anything wrong with this docs you can report any error by opening an
Last updated 星期五, 15 九月 2023 21:25:20 UTC - 89b7d17faa77e847b7de814f7dcea89eeca38653
openFrameworks is developed and maintained by several voluntary contributors.
Donations help support the development of openFrameworks, improve the documentation and pay for third party services needed for the project.
If you are using openFrameworks commercially or would simply like to support openFrameworks development, please consider donating to the project.