mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
Fixes namespace and angle calculations
Corrects namespace naming from unity_engine to unreal_engine. Adjusts projectile prediction and angle calculations for accuracy in Unreal Engine environments.
This commit is contained in:
@@ -46,4 +46,4 @@ namespace omath::unreal_engine
|
||||
{0, 0, -1.f, 0},
|
||||
};
|
||||
}
|
||||
} // namespace omath::unity_engine
|
||||
} // namespace omath::unreal_engine
|
||||
|
||||
@@ -24,4 +24,4 @@ namespace omath::unreal_engine
|
||||
{
|
||||
return calc_perspective_projection_matrix(fov.as_degrees(), view_port.aspect_ratio(), near, far);
|
||||
}
|
||||
} // namespace omath::unity_engine
|
||||
} // namespace omath::unreal_engine
|
||||
Reference in New Issue
Block a user