[WIP] World in progress

This commit is contained in:
2024-02-20 23:10:49 +01:00
parent 6901cefbbc
commit 288f26358e
18 changed files with 452 additions and 38 deletions

View File

@@ -227,32 +227,6 @@ SCENARIO("A sphere is behind a ray", "[features/spheres.feature]")
/* ------------------------------------------------------------------------- */
SCENARIO("Test Sphere Object", "[features/spheres.feature]")
{
GIVEN("s1 <- sphere()")
{
Sphere s1;
AND_GIVEN("s2 <- s1")
{
Sphere s2 = s1;
AND_GIVEN("s3 <- sphere()")
{
Sphere s3;
THEN("s1 = s2")
{
REQUIRE(s1 == s2);
}
AND_THEN("s1 != s3")
{
REQUIRE(s1 != s3);
}
}
}
}
}
/* ------------------------------------------------------------------------- */
SCENARIO("An intersection encapsulates t and object", "[features/intersections.feature]")
{
GIVEN("s <- sphere()")