changed naming of engines section

This commit is contained in:
2025-03-17 05:27:00 +03:00
parent 064a31f527
commit f5c271cfa6
15 changed files with 47 additions and 47 deletions

View File

@@ -5,7 +5,7 @@
#include "Constants.hpp"
#include "omath/projection/Camera.hpp"
namespace omath::opengl
namespace omath::opengl_engine
{
class Camera final : public projection::Camera<Mat4x4, ViewAngles>
{

View File

@@ -8,7 +8,7 @@
#include <omath/Angle.hpp>
#include <omath/ViewAngles.hpp>
namespace omath::opengl
namespace omath::opengl_engine
{
constexpr Vector3<float> kAbsUp = {0, 1, 0};
constexpr Vector3<float> kAbsRight = {1, 0, 0};

View File

@@ -5,7 +5,7 @@
#include "Constants.hpp"
namespace omath::opengl
namespace omath::opengl_engine
{
[[nodiscard]]
inline Vector3<float> ForwardVector(const ViewAngles& angles)

View File

@@ -5,7 +5,7 @@
#include "Constants.hpp"
#include "omath/projection/Camera.hpp"
namespace omath::source
namespace omath::source_engine
{
class Camera final : public projection::Camera<Mat4x4, ViewAngles>
{

View File

@@ -7,7 +7,8 @@
#include <omath/Mat.hpp>
#include <omath/Angle.hpp>
#include <omath/ViewAngles.hpp>
namespace omath::source
namespace omath::source_engine
{
constexpr Vector3<float> kAbsUp = {0, 0, 1};
constexpr Vector3<float> kAbsRight = {0, -1, 0};

View File

@@ -4,7 +4,7 @@
#pragma once
#include "Constants.hpp"
namespace omath::source
namespace omath::source_engine
{
[[nodiscard]]
inline Vector3<float> ForwardVector(const ViewAngles& angles)