master
Christophe Riccio ago%!(EXTRA string=11 years)
parent db4be24897
commit 9914308726
  1. 3
      glm/gtc/matrix_transform.inl

@ -216,8 +216,7 @@ namespace glm
assert(aspect != static_cast<T>(0));
assert(zFar != zNear);
T const rad = fovy;
T const tanHalfFovy = tan(rad / static_cast<T>(2));
T const tanHalfFovy = tan(fovy / static_cast<T>(2));
tmat4x4<T, defaultp> Result(static_cast<T>(0));
Result[0][0] = static_cast<T>(1) / (aspect * tanHalfFovy);

Loading…
Cancel
Save