mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
euler xyz: change param order and rm comment..
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user