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 금요일, 04 1월 2019 11:07:34 UTC - 02e4bdeee9fc29f88539b4e860c215150e7255a2
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.