mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Fixed float comparison warnings #270
This commit is contained in:
parent
3adf263341
commit
5b911d1eb0
@ -213,8 +213,8 @@ namespace glm
|
||||
T zFar
|
||||
)
|
||||
{
|
||||
assert(aspect != static_cast<T>(0));
|
||||
assert(zFar != zNear);
|
||||
assert(abs(aspect - std::numeric_limits<T>::epsilon()) > static_cast<T>(0));
|
||||
assert(zFar > zNear);
|
||||
|
||||
T const tanHalfFovy = tan(fovy / static_cast<T>(2));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user