Browse Source

Animation: add an explanatory comment.

pull/267/head
Vladimír Vondruš 8 years ago
parent
commit
ffe838a404
  1. 4
      src/Magnum/Animation/Test/PlayerTest.cpp

4
src/Magnum/Animation/Test/PlayerTest.cpp

@ -833,6 +833,10 @@ void PlayerTest::runFor100YearsFloat() {
CORRADE_COMPARE(player.state(), State::Playing);
{
/* Asm.js uses doubles for all floating-point calculations, so we don't
lose any precision and thus even the "run for 100 years" test passes
there. Unfortunately it's not possible to detect if this is asm.js
so the XFAIL is done like this. */
#ifndef CORRADE_TARGET_EMSCRIPTEN
CORRADE_EXPECT_FAIL_IF(data.failsFuzzyFloat, "Imprecision larger than 2.5e-4f.");
#else

Loading…
Cancel
Save