From d55c57b504d84cda9737020209a70f7d127efff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Mon, 10 Jul 2017 12:55:58 +0200 Subject: [PATCH] Fix Clang -Wmissing-braces warning --- deps/linmath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/linmath.h b/deps/linmath.h index 690a07a4..9c2e2a0a 100644 --- a/deps/linmath.h +++ b/deps/linmath.h @@ -192,7 +192,7 @@ static inline void mat4x4_rotate(mat4x4 R, mat4x4 M, float x, float y, float z, vec3 u = {x, y, z}; if(vec3_len(u) > 1e-4) { - mat4x4 T, C, S = {0}; + mat4x4 T, C, S = {{0}}; vec3_norm(u, u); mat4x4_from_vec3_mul_outer(T, u, u);