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 水曜日, 24 3月 2021 22:24:29 UTC - 3584230cdd16cdb7de5ec8a7f713af37f38ca6dd
Hosting for openFrameworks is generously provided by Rackspace
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.