mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
added func
added rotation matrix for opengl updated unit tests
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
TEST(UnitTestSourceEngine, ForwardVector)
|
||||
{
|
||||
const auto forward = omath::source_engine::ForwardVector({});
|
||||
omath::source_engine::ViewAngles angles;
|
||||
//angles.pitch = omath::source_engine::PitchAngle::FromDegrees(-90);
|
||||
const auto forward2 = omath::source_engine::ForwardVector(angles);
|
||||
|
||||
//std::println("{} {} {}", forward2.x, forward2.y, forward2.z);
|
||||
|
||||
EXPECT_EQ(forward, omath::source_engine::kAbsForward);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user