From 282473be2497c718f026180c6cbe54e006d561c5 Mon Sep 17 00:00:00 2001 From: Patrik Huber Date: Mon, 7 Nov 2016 21:41:43 +0000 Subject: [PATCH] Fixed missing conversion to T --- 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 dac55a4a..21669c7d 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(1); + tmat4x4 Result(T(1)); Result[0][0] = static_cast(2) / (right - left); Result[1][1] = static_cast(2) / (top - bottom); Result[2][2] = - static_cast(1);