mirror of
https://github.com/icaven/glm.git
synced 2025-12-07 17:26:50 +08:00
Fixed eulerAngleY rotation orientation
This commit is contained in:
parent
df152fa9db
commit
843cc7bd61
@ -35,9 +35,9 @@ namespace glm
|
||||
valType sinY = glm::sin(angleY);
|
||||
|
||||
return detail::tmat4x4<valType>(
|
||||
cosY, valType(0), sinY, valType(0),
|
||||
cosY, valType(0),-sinY, valType(0),
|
||||
valType(0), valType(1), valType(0), valType(0),
|
||||
-sinY, valType(0), cosY, valType(0),
|
||||
sinY, valType(0), cosY, valType(0),
|
||||
valType(0), valType(0), valType(0), valType(1));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user