mirror of
https://github.com/orange-cpp/omath.git
synced 2026-06-09 08:44:35 +00:00
28b3aecf9d
Adds Unreal Engine-specific implementations for camera and projectile prediction calculations. This includes: - Defining constants and data types tailored for Unreal Engine's coordinate system and conventions. - Implementing functions for calculating forward, right, and up vectors, view matrices, and perspective projection matrices. - Providing camera trait for look-at angle calculations and projection matrix generation. - Implements projectile prediction traits and utilities.
13 lines
321 B
C++
13 lines
321 B
C++
//
|
|
// Created by Vlad on 3/22/2025.
|
|
//
|
|
|
|
#pragma once
|
|
#include "omath/engines/unreal_engine/constants.hpp"
|
|
#include "omath/projection/camera.hpp"
|
|
#include "traits/camera_trait.hpp"
|
|
|
|
namespace omath::unreal_engine
|
|
{
|
|
using Camera = projection::Camera<Mat4X4, ViewAngles, CameraTrait>;
|
|
} // namespace omath::unity_engine
|