Skip to content

Commit

Permalink
Fix warning in test
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Derbasov <[email protected]>
  • Loading branch information
ntfshard committed Jul 23, 2024
1 parent fe8b008 commit 833962c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphics/src/SubMesh_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ TEST_F(SubMeshTest, NormalsRecalculation)
const auto jitter = i % 2 ? 1e-7 : 0.0;
submesh->AddVertex(i-jitter, i, i);
submesh->AddVertex(i+1, i+1, i+1);
submesh->AddVertex(i, i, -i);
submesh->AddVertex(i, i, -static_cast<double>(i));

submesh->AddIndex(3*i);
submesh->AddIndex(3*i+1);
Expand Down

0 comments on commit 833962c

Please sign in to comment.