mirror of
https://github.com/orange-cpp/omath.git
synced 2026-04-21 14:43:26 +00:00
added mesh class, added mesh trair
This commit is contained in:
18
include/omath/engines/source_engine/traits/mesh_trait.hpp
Normal file
18
include/omath/engines/source_engine/traits/mesh_trait.hpp
Normal file
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// Created by Vladislav on 09.11.2025.
|
||||
//
|
||||
#pragma once
|
||||
#include <omath/engines/source_engine/constants.hpp>
|
||||
#include <omath/engines/source_engine/formulas.hpp>
|
||||
namespace omath::source_engine
|
||||
{
|
||||
class MeshTrait final
|
||||
{
|
||||
public:
|
||||
[[nodiscard]]
|
||||
static Mat4X4 rotation_matrix(const ViewAngles& rotation)
|
||||
{
|
||||
return source_engine::rotation_matrix(rotation);
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user