Skip to content

Commit 21ec23d

Browse files
committed
patch
1 parent 2c4ff37 commit 21ec23d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/omath/projectile_prediction/engine_traits/opengl_engine_trait.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ namespace omath::projectile_prediction::traits
4545
[[nodiscard]]
4646
constexpr static float get_vector_height_coordinate(const Vector3<float>& vec) noexcept
4747
{
48-
return vec.z;
48+
return vec.y;
4949
}
5050

5151
[[nodiscard]]

include/omath/projectile_prediction/engine_traits/unity_engine_trait.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ namespace omath::projectile_prediction::traits
4545
[[nodiscard]]
4646
constexpr static float get_vector_height_coordinate(const Vector3<float>& vec) noexcept
4747
{
48-
return vec.z;
48+
return vec.y;
4949
}
5050

5151
[[nodiscard]]

0 commit comments

Comments
 (0)