[WIP] stripe-pattern is now ok.

This commit is contained in:
NADAL Jean-Baptiste
2024-02-29 18:39:45 +01:00
parent 5e540a995b
commit 0576ccaccb
19 changed files with 192 additions and 56 deletions

View File

@@ -52,7 +52,7 @@ SCENARIO("Lightning with the surface in shadow", "[features/materials.feature]")
bool in_shadow = true;
WHEN("result <- lighting(m, light, position, eyev, normalv, in_shadow)")
{
Color result = m.lighting(light, position, eyev, normalv, in_shadow);
Color result = m.lighting(nullptr, light, position, eyev, normalv, in_shadow);
THEN("result = color(0.1, 0.1, 0.1)")
{
REQUIRE(result == Color(0.1, 0.1, 0.1));