mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
changed naming of engines section
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
add_subdirectory(Source)
|
||||
add_subdirectory(OpenGL)
|
||||
add_subdirectory(source_engine)
|
||||
add_subdirectory(opengl_engine)
|
||||
@@ -1,11 +1,11 @@
|
||||
//
|
||||
// Created by Orange on 12/23/2024.
|
||||
//
|
||||
#include "omath/engines/OpenGL/Camera.hpp"
|
||||
#include "omath/engines/OpenGL/Formulas.hpp"
|
||||
#include "omath/engines/opengl_engine/Camera.hpp"
|
||||
#include "omath/engines/opengl_engine/Formulas.hpp"
|
||||
|
||||
|
||||
namespace omath::opengl
|
||||
namespace omath::opengl_engine
|
||||
{
|
||||
|
||||
Camera::Camera(const Vector3<float>& position, const ViewAngles& viewAngles, const projection::ViewPort& viewPort,
|
||||
@@ -25,7 +25,7 @@ namespace omath::opengl
|
||||
}
|
||||
Mat4x4 Camera::CalcViewMatrix() const
|
||||
{
|
||||
return opengl::CalcViewMatrix(m_viewAngles, m_origin);
|
||||
return opengl_engine::CalcViewMatrix(m_viewAngles, m_origin);
|
||||
}
|
||||
Mat4x4 Camera::CalcProjectionMatrix() const
|
||||
{
|
||||
@@ -1,11 +1,11 @@
|
||||
//
|
||||
// Created by Orange on 12/4/2024.
|
||||
//
|
||||
#include "omath/engines/Source/Camera.hpp"
|
||||
#include "omath/engines/Source/Formulas.hpp"
|
||||
#include "omath/engines/source_engine/Camera.hpp"
|
||||
#include "omath/engines/source_engine/Formulas.hpp"
|
||||
|
||||
|
||||
namespace omath::source
|
||||
namespace omath::source_engine
|
||||
{
|
||||
|
||||
Camera::Camera(const Vector3<float>& position, const ViewAngles& viewAngles, const projection::ViewPort& viewPort,
|
||||
@@ -26,7 +26,7 @@ namespace omath::source
|
||||
|
||||
Mat4x4 Camera::CalcViewMatrix() const
|
||||
{
|
||||
return source::CalcViewMatrix(m_viewAngles, m_origin);
|
||||
return source_engine::CalcViewMatrix(m_viewAngles, m_origin);
|
||||
}
|
||||
|
||||
Mat4x4 Camera::CalcProjectionMatrix() const
|
||||
Reference in New Issue
Block a user