clang compile fixes

This commit is contained in:
baldurk
2014-08-25 17:16:07 +01:00
parent ce2cf6c87f
commit 0532e4e8d6
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -242,8 +242,8 @@ Matrix4f Matrix4f::Orthographic(const float near, const float far)
float T = 10.0f;
float B = -10.0f;
float N = -abs(far-near)*0.5f;
float F = abs(far-near)*0.5f;
float N = -fabs(far-near)*0.5f;
float F = fabs(far-near)*0.5f;
if(far < near)
{