From e1e1dd1ebc08304513e156678cc2ac0dd6ab0cff Mon Sep 17 00:00:00 2001 From: Patrik Huber Date: Tue, 8 Nov 2016 11:27:32 +0000 Subject: [PATCH] Changed T() to static_cast --- glm/gtc/matrix_transform.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/gtc/matrix_transform.inl b/glm/gtc/matrix_transform.inl index 21669c7d..b9ff418b 100644 --- a/glm/gtc/matrix_transform.inl +++ b/glm/gtc/matrix_transform.inl @@ -168,7 +168,7 @@ namespace glm T bottom, T top ) { - tmat4x4 Result(T(1)); + tmat4x4 Result(static_cast(1)); Result[0][0] = static_cast(2) / (right - left); Result[1][1] = static_cast(2) / (top - bottom); Result[2][2] = - static_cast(1);