Browse Source

Physics: wat.

Brain fart in 39348ddf06 (or probably f'ed
up merge conflict after crashed KDevelop while being interrupted for
lack of attention). Next time commit, stash and _then_ test.
pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
4060c45617
  1. 1
      src/Physics/Test/CapsuleTest.cpp

1
src/Physics/Test/CapsuleTest.cpp

@ -52,7 +52,6 @@ void CapsuleTest::applyTransformation() {
CORRADE_COMPARE(capsule.transformedA(), Vector3(-2.0f, 1.0f, 3.0f));
CORRADE_COMPARE(capsule.transformedB(), Vector3(2.0f, -1.0f, -3.0f));
CORRADE_COMPARE(capsule.transformedRadius(), 7.0f);
}
/* Apply average scaling to radius */
capsule.applyTransformationMatrix(Matrix4::scaling({Constants::sqrt3(), -Constants::sqrt2(), 2.0f}));

Loading…
Cancel
Save