mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
added unit tests
This commit is contained in:
@@ -16,7 +16,7 @@ TEST(UnitTestOpenGL, ForwardVector)
|
||||
std::print("{}\n", angles.pitch.AsDegrees());
|
||||
const auto forward2 = omath::opengl_engine::ForwardVector(angles);
|
||||
|
||||
std::println("{} {} {}", forward2.x, (int)forward2.y, (int)forward2.z);
|
||||
std::println("OpenGL {} {} {}", std::round(forward2.x), std::round(forward2.y), std::round(forward2.z));
|
||||
EXPECT_EQ(forward, omath::opengl_engine::kAbsForward);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user