Browse Source

DebugTools: orthogonal, not parallel.

Another brainfart.
pull/23/head
Vladimír Vondruš 13 years ago
parent
commit
47fa924f2b
  1. 4
      src/DebugTools/Test/ForceRendererTest.cpp

4
src/DebugTools/Test/ForceRendererTest.cpp

@ -81,7 +81,7 @@ void ForceRendererTest::arbitrary2D() {
/* All vectors have the same length */
CORRADE_COMPARE(m.up().length(), force.length());
/* All vectors are parallel */
/* All vectors are orthogonal */
CORRADE_COMPARE(Vector2::dot(m.right(), m.up()), 0.0f);
}
@ -112,7 +112,7 @@ void ForceRendererTest::arbitrary3D() {
CORRADE_COMPARE(m.up().length(), force.length());
CORRADE_COMPARE(m.backward().length(), force.length());
/* All vectors are parallel */
/* All vectors are orthogonal */
CORRADE_COMPARE(Vector3::dot(m.right(), m.up()), 0.0f);
CORRADE_COMPARE(Vector3::dot(m.right(), m.backward()), 0.0f);
CORRADE_COMPARE(Vector3::dot(m.up(), m.backward()), 0.0f);

Loading…
Cancel
Save