euler xyz: change param order and rm comment..

This commit is contained in:
Recep Aslantas
2016-10-24 16:00:04 +03:00
parent ecc574acb4
commit baf60f0a31

View File

@@ -42,12 +42,12 @@ glm_euler_angles(mat4 m,
} }
/*! /*!
* @brief build rotation matrix from euler angles(xyz)/yaw-pitch-roll (Y-UP) * @brief build rotation matrix from euler angles(xyz)
*/ */
CGLM_INLINE CGLM_INLINE
void void
glm_euler(float yaw, glm_euler(float pitch,
float pitch, float yaw,
float roll, float roll,
mat4 dest) { mat4 dest) {
float cx, cy, cz, float cx, cy, cz,