diff options
author | Woazboat <f.kargl@posteo.de> | 2015-04-29 17:12:45 +0200 |
---|---|---|
committer | Woazboat <f.kargl@posteo.de> | 2015-04-29 17:12:45 +0200 |
commit | d1ad08169e90ed3704d8e27aaa063fee4f6eed70 (patch) | |
tree | 8853477b3b38cb44a5405da6bed87f8e2542c82a /src/Tracer.cpp | |
parent | Added extra braces to initialization of Tracer::m_NormalTable (diff) | |
download | cuberite-d1ad08169e90ed3704d8e27aaa063fee4f6eed70.tar cuberite-d1ad08169e90ed3704d8e27aaa063fee4f6eed70.tar.gz cuberite-d1ad08169e90ed3704d8e27aaa063fee4f6eed70.tar.bz2 cuberite-d1ad08169e90ed3704d8e27aaa063fee4f6eed70.tar.lz cuberite-d1ad08169e90ed3704d8e27aaa063fee4f6eed70.tar.xz cuberite-d1ad08169e90ed3704d8e27aaa063fee4f6eed70.tar.zst cuberite-d1ad08169e90ed3704d8e27aaa063fee4f6eed70.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Tracer.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Tracer.cpp b/src/Tracer.cpp index 53daa4050..692772b04 100644 --- a/src/Tracer.cpp +++ b/src/Tracer.cpp @@ -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 = -{{ +{ + { 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 -}}; + } +}; |