Changed sign for eulerAngleY to make it consistent with the others
This commit is contained in:
parent
08c95429fe
commit
00bb64f412
@ -35,9 +35,9 @@ namespace glm
|
|||||||
T sinY = glm::sin(angleY);
|
T sinY = glm::sin(angleY);
|
||||||
|
|
||||||
return detail::tmat4x4<T, defaultp>(
|
return detail::tmat4x4<T, defaultp>(
|
||||||
cosY, T(0), sinY, T(0),
|
cosY, T(0), -sinY, T(0),
|
||||||
T(0), T(1), T(0), T(0),
|
T(0), T(1), T(0), T(0),
|
||||||
-sinY, T(0), cosY, T(0),
|
sinY, T(0), cosY, T(0),
|
||||||
T(0), T(0), T(0), T(1));
|
T(0), T(0), T(0), T(1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user