added improvement

This commit is contained in:
2026-05-17 09:08:20 +03:00
parent 7f88bf8b21
commit cebcfc411d
16 changed files with 376 additions and 1 deletions
@@ -12,6 +12,15 @@ namespace omath::source_engine
[[nodiscard]]
Mat4X4 rotation_matrix(const ViewAngles& angles) noexcept;
[[nodiscard]]
Vector3<float> extract_origin(const Mat4X4& mat) noexcept;
[[nodiscard]]
Vector3<float> extract_scale(const Mat4X4& mat) noexcept;
[[nodiscard]]
ViewAngles extract_rotation_angles(const Mat4X4& mat) noexcept;
[[nodiscard]]
Vector3<float> right_vector(const ViewAngles& angles) noexcept;