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 Wednesday, 13 February 2019 20:45:40 UTC - 822d7e0f28c3b5bb69141de13d69946ce9353982
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.