From 21ec23d77bd11d5b3e663e013a2f2412feb4ef88 Mon Sep 17 00:00:00 2001 From: Orange Date: Wed, 6 Aug 2025 05:56:09 +0300 Subject: [PATCH] patch --- .../projectile_prediction/engine_traits/opengl_engine_trait.hpp | 2 +- .../projectile_prediction/engine_traits/unity_engine_trait.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/omath/projectile_prediction/engine_traits/opengl_engine_trait.hpp b/include/omath/projectile_prediction/engine_traits/opengl_engine_trait.hpp index 3241842..59e30df 100644 --- a/include/omath/projectile_prediction/engine_traits/opengl_engine_trait.hpp +++ b/include/omath/projectile_prediction/engine_traits/opengl_engine_trait.hpp @@ -45,7 +45,7 @@ namespace omath::projectile_prediction::traits [[nodiscard]] constexpr static float get_vector_height_coordinate(const Vector3& vec) noexcept { - return vec.z; + return vec.y; } [[nodiscard]] diff --git a/include/omath/projectile_prediction/engine_traits/unity_engine_trait.hpp b/include/omath/projectile_prediction/engine_traits/unity_engine_trait.hpp index 4246ba0..c70caf8 100644 --- a/include/omath/projectile_prediction/engine_traits/unity_engine_trait.hpp +++ b/include/omath/projectile_prediction/engine_traits/unity_engine_trait.hpp @@ -45,7 +45,7 @@ namespace omath::projectile_prediction::traits [[nodiscard]] constexpr static float get_vector_height_coordinate(const Vector3& vec) noexcept { - return vec.z; + return vec.y; } [[nodiscard]]