mirror of
https://github.com/g-truc/glm.git
synced 2025-04-10 07:18:54 +00:00
Fixed eulerAngleY rotation orientation
This commit is contained in:
parent
df152fa9db
commit
843cc7bd61
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue