From f7d88ff4e00d9ad61d7582f6b5fff97401bac1de Mon Sep 17 00:00:00 2001 From: Woazboat Date: Wed, 29 Apr 2015 02:21:37 +0200 Subject: Added extra braces to initialization of Tracer::m_NormalTable --- src/Tracer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tracer.cpp b/src/Tracer.cpp index 56229e443..53daa4050 100644 --- a/src/Tracer.cpp +++ b/src/Tracer.cpp @@ -16,14 +16,14 @@ const float FLOAT_EPSILON = 0.0001f; // TODO: Stash this in some header where i const std::array cTracer::m_NormalTable = -{ +{{ Vector3f(-1, 0, 0), // 1: -x Vector3f( 0, 0, -1), // 2: -z Vector3f( 1, 0, 0), // 3: +x Vector3f( 0, 0, 1), // 4: +z Vector3f( 0, 1, 0), // 5: +y Vector3f( 0, -1, 0) // 6: -y -}; +}}; -- cgit v1.2.3