[WIP] stripe-pattern is now ok.
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user