[FIX] clang-tidy issue

This commit is contained in:
NADAL Jean-Baptiste
2024-02-14 11:42:56 +01:00
parent a9520b89f1
commit d019402756
4 changed files with 28 additions and 3 deletions

View File

@@ -252,8 +252,6 @@ SCENARIO("Rotating a point around the z axis", "[features/transformations.featur
AND_GIVEN("full_quarter <- rotation_z(pi/2)")
{
Matrix full_quarter = Matrix::rotation_z(std::numbers::pi / 2);
Tuple z = half_quarter * p;
THEN("half_quarter * p = point(-sqrt(2) / 2, sqrt(2) / 2, 0)")
{
REQUIRE(half_quarter * p == Tuple::Point(-sqrt(2) / 2, sqrt(2) / 2, 0));