[FEAT] refraction tips7 is now working

This commit is contained in:
NADAL Jean-Baptiste
2024-03-12 16:15:53 +01:00
parent 668a51c4f7
commit 6f55253ffd
4 changed files with 17 additions and 10 deletions

View File

@@ -296,16 +296,10 @@ SCENARIO("Shading an intersection from the inside", "[features/world.feature]")
AND_WHEN("c <- shade_hit(w, comps)")
{
Color c = w.shade_hit(comps);
#if 0 // Not working anymore with shadow.
THEN("c = color(0.90498, 0.90498, 0.90498)")
{
REQUIRE(c == Color(0.90498, 0.90498, 0.90498));
}
#endif
THEN("c = color(0.1, 0.1, 0.1)")
{
REQUIRE(c == Color(0.1, 0.1, 0.1));
}
}
}
}