ofDocsdocumentation glm gtxeuler_angles (functions)

gtxeuler_angles (functions)


glm::orientate3( ... )

glm::mat3 glm::orientate3(const glm::vec3 &angles=P)

Creates a 3D 3 * 3 rotation matrix from euler angles (Y * X * Z).

See also: gtx_euler_angles


glm::orientate4( ... )

glm::mat4 glm::orientate4(const glm::vec3 &angles=P)

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z).

See also: gtx_euler_angles