mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 15:03:27 +00:00
uncommented test
This commit is contained in:
@@ -30,7 +30,7 @@ TEST(UnitTestUnityEngine, UpVector)
|
||||
EXPECT_EQ(up, omath::unity_engine::kAbsUp);
|
||||
}
|
||||
|
||||
/*TEST(UnitTestUnityEngine, ProjectTargetMovedFromCamera)
|
||||
TEST(UnitTestUnityEngine, ProjectTargetMovedFromCamera)
|
||||
{
|
||||
constexpr auto fov = omath::projection::FieldOfView::FromDegrees(60.f);
|
||||
const auto cam = omath::unity_engine::Camera({0, 0, 0}, {}, {1280.f, 720.f}, fov, 0.01f, 1000.f);
|
||||
@@ -48,7 +48,7 @@ TEST(UnitTestUnityEngine, UpVector)
|
||||
EXPECT_NEAR(projected->x, 640, 0.00001f);
|
||||
EXPECT_NEAR(projected->y, 360, 0.00001f);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
TEST(UnitTestUnityEngine, Project)
|
||||
{
|
||||
constexpr auto fov = omath::projection::FieldOfView::FromDegrees(60.f);
|
||||
|
||||
Reference in New Issue
Block a user