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

@@ -1,2 +1,2 @@
add_subdirectory(Source)
add_subdirectory(OpenGL)
add_subdirectory(source_engine)
add_subdirectory(opengl_engine)

View File

@@ -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
{

View File

@@ -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