From 02d909f77df5da297abf8352b7d77384b6e39f2a Mon Sep 17 00:00:00 2001 From: Orange Date: Thu, 19 Feb 2026 01:06:08 +0300 Subject: [PATCH] added mesh trait --- .../engines/cry_engine/traits/mesh_trait.hpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 include/omath/engines/cry_engine/traits/mesh_trait.hpp diff --git a/include/omath/engines/cry_engine/traits/mesh_trait.hpp b/include/omath/engines/cry_engine/traits/mesh_trait.hpp new file mode 100644 index 0000000..200c068 --- /dev/null +++ b/include/omath/engines/cry_engine/traits/mesh_trait.hpp @@ -0,0 +1,19 @@ +// +// Created by Vladislav on 09.11.2025. +// +#pragma once +#include +#include + +namespace omath::cry_engine +{ + class MeshTrait final + { + public: + [[nodiscard]] + static Mat4X4 rotation_matrix(const ViewAngles& rotation) + { + return cry_engine::rotation_matrix(rotation); + } + }; +} // namespace omath::cry_engine \ No newline at end of file