added mesh class, added mesh trair

This commit is contained in:
2025-11-09 22:10:56 +03:00
parent 4fe001b102
commit 353fb290b7
8 changed files with 102 additions and 60 deletions

View 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);
}
};
}