From be3c0c977841254f82d03f8c8b5d14bd95d5aa14 Mon Sep 17 00:00:00 2001 From: vsonnier Date: Sun, 28 May 2017 17:33:44 +0200 Subject: [PATCH] Pedantic change for mat4::to_ptr() --- external/cubicvr2/math/mat4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/cubicvr2/math/mat4.h b/external/cubicvr2/math/mat4.h index 04c2098..88d6bd2 100644 --- a/external/cubicvr2/math/mat4.h +++ b/external/cubicvr2/math/mat4.h @@ -42,7 +42,7 @@ namespace CubicVR { //To be accessed by GL API directly, accessed by pointer. //operator* overloading is way too dangerous, especially in ptr != NULL //tests. - inline float* to_ptr() const { return (__float *)this; } + inline __float* to_ptr() const { return (__float *)this; } mat4(__float ai,__float bi,__float ci,__float di,__float ei,__float fi,__float gi,__float hi,__float ii,__float ji,__float ki,__float li,__float mi,__float ni,__float oi,__float pi) { a = ai; b = bi; c = ci; d = di; e = ei; f = fi; g = gi; h = hi; i = ii; j = ji; k = ki; l = li; m = mi; n = ni; o = oi; p = pi;