From 892e4b79f32dabe82c97d28e075c0f3068559add Mon Sep 17 00:00:00 2001 From: Rico P Date: Fri, 17 Jan 2014 12:12:24 +0100 Subject: Fixed convertion from double to float warning --- linmath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linmath.h b/linmath.h index 2a72c1c..7406d48 100644 --- a/linmath.h +++ b/linmath.h @@ -317,7 +317,7 @@ static inline void mat4x4_frustum(mat4x4 M, float l, float r, float b, float t, M[0][0] = 2.f*n/(r-l); M[0][1] = M[0][2] = M[0][3] = 0.f; - M[1][1] = 2.*n/(t-b); + M[1][1] = 2.f*n/(t-b); M[1][0] = M[1][2] = M[1][3] = 0.f; M[2][0] = (r+l)/(r-l); -- cgit v1.2.3