mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 15:03:27 +00:00
changed naming of engines section
This commit is contained in:
@@ -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>
|
||||
{
|
||||
@@ -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};
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "Constants.hpp"
|
||||
|
||||
|
||||
namespace omath::opengl
|
||||
namespace omath::opengl_engine
|
||||
{
|
||||
[[nodiscard]]
|
||||
inline Vector3<float> ForwardVector(const ViewAngles& angles)
|
||||
@@ -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>
|
||||
{
|
||||
@@ -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};
|
||||
@@ -4,7 +4,7 @@
|
||||
#pragma once
|
||||
#include "Constants.hpp"
|
||||
|
||||
namespace omath::source
|
||||
namespace omath::source_engine
|
||||
{
|
||||
[[nodiscard]]
|
||||
inline Vector3<float> ForwardVector(const ViewAngles& angles)
|
||||
Reference in New Issue
Block a user