mirror of
https://github.com/orange-cpp/omath.git
synced 2026-04-19 05:03:27 +00:00
added mesh trait
This commit is contained in:
19
include/omath/engines/cry_engine/traits/mesh_trait.hpp
Normal file
19
include/omath/engines/cry_engine/traits/mesh_trait.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// Created by Vladislav on 09.11.2025.
|
||||
//
|
||||
#pragma once
|
||||
#include <omath/engines/cry_engine/constants.hpp>
|
||||
#include <omath/engines/cry_engine/formulas.hpp>
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user