mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 15:03:27 +00:00
Moves camera and prediction engine implementations into traits for each engine, decoupling the engine-specific logic from the core classes, promoting code reuse and maintainability. This change allows for easier addition of new engines and customization of existing ones.
11 lines
322 B
C++
11 lines
322 B
C++
//
|
|
// Created by Orange on 12/4/2024.
|
|
//
|
|
#pragma once
|
|
#include "omath/engines/source_engine/constants.hpp"
|
|
#include "omath/projection/camera.hpp"
|
|
#include "traits/camera_trait.hpp"
|
|
namespace omath::source_engine
|
|
{
|
|
using Camera = projection::Camera<Mat4X4, ViewAngles, CameraTrait>;
|
|
} // namespace omath::source_engine
|