1
0

braces in Tracer::mNormalTable initializer in separate lines

This commit is contained in:
Woazboat 2015-04-29 17:12:45 +02:00
parent f7d88ff4e0
commit d1ad08169e

View File

@ -16,14 +16,16 @@ const float FLOAT_EPSILON = 0.0001f; // TODO: Stash this in some header where i
const std::array<const Vector3f, 6> cTracer::m_NormalTable = const std::array<const Vector3f, 6> cTracer::m_NormalTable =
{{ {
{
Vector3f(-1, 0, 0), // 1: -x Vector3f(-1, 0, 0), // 1: -x
Vector3f( 0, 0, -1), // 2: -z Vector3f( 0, 0, -1), // 2: -z
Vector3f( 1, 0, 0), // 3: +x Vector3f( 1, 0, 0), // 3: +x
Vector3f( 0, 0, 1), // 4: +z Vector3f( 0, 0, 1), // 4: +z
Vector3f( 0, 1, 0), // 5: +y Vector3f( 0, 1, 0), // 5: +y
Vector3f( 0, -1, 0) // 6: -y Vector3f( 0, -1, 0) // 6: -y
}}; }
};