mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +00:00
Clean up
This commit is contained in:
parent
db4be24897
commit
9914308726
@ -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…
Reference in New Issue
Block a user