mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
moving from .h to .hpp to make thing more clear
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "omath/Vector3.h"
|
||||
#include "omath/Vector3.hpp"
|
||||
#include <cstdint>
|
||||
#include "omath/Vector4.h"
|
||||
#include "omath/Vector4.hpp"
|
||||
|
||||
|
||||
namespace omath
|
||||
@@ -6,9 +6,9 @@
|
||||
#include <array>
|
||||
#include <sstream>
|
||||
#include <utility>
|
||||
#include "Vector3.h"
|
||||
#include "Vector3.hpp"
|
||||
#include <stdexcept>
|
||||
#include "Angles.h"
|
||||
#include "Angles.hpp"
|
||||
|
||||
|
||||
namespace omath
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include "omath/Vector2.h"
|
||||
#include "omath/Vector2.hpp"
|
||||
|
||||
|
||||
namespace omath
|
||||
@@ -3,7 +3,7 @@
|
||||
//
|
||||
#pragma once
|
||||
|
||||
#include <omath/Vector3.h>
|
||||
#include <omath/Vector3.hpp>
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
#include <vector>
|
||||
#include "NavigationMesh.h"
|
||||
#include "omath/Vector3.h"
|
||||
#include "NavigationMesh.hpp"
|
||||
#include "omath/Vector3.hpp"
|
||||
|
||||
|
||||
namespace omath::pathfinding
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "omath/Vector3.h"
|
||||
#include "omath/Vector3.hpp"
|
||||
#include <expected>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
@@ -5,9 +5,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <optional>
|
||||
#include "omath/Vector3.h"
|
||||
#include "omath/prediction/Projectile.h"
|
||||
#include "omath/prediction/Target.h"
|
||||
#include "omath/Vector3.hpp"
|
||||
#include "omath/prediction/Projectile.hpp"
|
||||
#include "omath/prediction/Target.hpp"
|
||||
|
||||
|
||||
namespace omath::prediction
|
||||
@@ -3,7 +3,7 @@
|
||||
//
|
||||
|
||||
#pragma once
|
||||
#include "omath/Vector3.h"
|
||||
#include "omath/Vector3.hpp"
|
||||
|
||||
|
||||
namespace omath::prediction
|
||||
@@ -3,7 +3,7 @@
|
||||
//
|
||||
|
||||
#pragma once
|
||||
#include "omath/Vector3.h"
|
||||
#include "omath/Vector3.hpp"
|
||||
|
||||
|
||||
namespace omath::prediction
|
||||
@@ -5,10 +5,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <expected>
|
||||
#include <omath/Vector3.h>
|
||||
#include <omath/Mat.h>
|
||||
#include <omath/Vector3.hpp>
|
||||
#include <omath/Mat.hpp>
|
||||
#include <string_view>
|
||||
#include "ErrorCodes.h"
|
||||
#include "ErrorCodes.hpp"
|
||||
|
||||
|
||||
namespace omath::projection
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "omath/Matrix.h"
|
||||
#include "omath/Vector3.h"
|
||||
#include "omath/Angles.h"
|
||||
#include "omath/Matrix.hpp"
|
||||
#include "omath/Vector3.hpp"
|
||||
#include "omath/Angles.hpp"
|
||||
|
||||
|
||||
#include <format>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// Created by Vlad on 02.09.2024.
|
||||
//
|
||||
#include "omath/Vector2.h"
|
||||
#include "omath/Vector2.hpp"
|
||||
#include <cmath>
|
||||
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
// Created by vlad on 10/28/23.
|
||||
//
|
||||
|
||||
#include <omath/Vector3.h>
|
||||
#include <omath/Vector3.hpp>
|
||||
#include <cmath>
|
||||
#include <omath/Angles.h>
|
||||
#include <omath/Angles.hpp>
|
||||
|
||||
namespace omath
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Vector4.cpp
|
||||
//
|
||||
|
||||
#include "omath/Vector4.h"
|
||||
#include "omath/Vector4.hpp"
|
||||
#include <cmath>
|
||||
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Created by vlad on 2/4/24.
|
||||
//
|
||||
|
||||
#include "omath/Color.h"
|
||||
#include "omath/Color.hpp"
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// Created by Vlad on 28.07.2024.
|
||||
//
|
||||
#include "omath/pathfinding/Astar.h"
|
||||
#include "omath/pathfinding/Astar.hpp"
|
||||
|
||||
#include <optional>
|
||||
#include <unordered_map>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// Created by Vlad on 28.07.2024.
|
||||
//
|
||||
#include "omath/pathfinding/NavigationMesh.h"
|
||||
#include "omath/pathfinding/NavigationMesh.hpp"
|
||||
|
||||
#include <stdexcept>
|
||||
#include <algorithm>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
//
|
||||
|
||||
|
||||
#include "omath/prediction/Engine.h"
|
||||
#include "omath/prediction/Engine.hpp"
|
||||
#include <cmath>
|
||||
#include <omath/Angles.h>
|
||||
#include <omath/Angles.hpp>
|
||||
|
||||
|
||||
namespace omath::prediction
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Created by Vlad on 6/9/2024.
|
||||
//
|
||||
|
||||
#include "omath/prediction/Projectile.h"
|
||||
#include "omath/prediction/Projectile.hpp"
|
||||
#include <cmath>
|
||||
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Created by Vlad on 6/9/2024.
|
||||
//
|
||||
|
||||
#include "omath/prediction/Target.h"
|
||||
#include "omath/prediction/Target.hpp"
|
||||
|
||||
|
||||
namespace omath::prediction
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
//
|
||||
// Created by Vlad on 27.08.2024.
|
||||
//
|
||||
#include "omath/projection/Camera.h"
|
||||
#include "omath/projection/Camera.hpp"
|
||||
|
||||
#include <complex>
|
||||
|
||||
#include "omath/Angles.h"
|
||||
#include "omath/Angles.hpp"
|
||||
|
||||
|
||||
namespace omath::projection
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Created by Vlad on 18.08.2024.
|
||||
//
|
||||
#include <gtest/gtest.h>
|
||||
#include <omath/pathfinding/Astar.h>
|
||||
#include <omath/pathfinding/Astar.hpp>
|
||||
|
||||
|
||||
TEST(UnitTestAstar, FindingRightPath)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Created by Vlad on 01.09.2024.
|
||||
//
|
||||
#include <gtest/gtest.h>
|
||||
#include <omath/Color.h>
|
||||
#include <omath/Color.hpp>
|
||||
|
||||
|
||||
using namespace omath;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// UnitTestMat.cpp
|
||||
#include <gtest/gtest.h>
|
||||
#include "omath/Mat.h"
|
||||
#include "omath/Vector3.h"
|
||||
#include "omath/Mat.hpp"
|
||||
#include "omath/Vector3.hpp"
|
||||
|
||||
using namespace omath;
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Created by vlad on 5/18/2024.
|
||||
//
|
||||
#include <gtest/gtest.h>
|
||||
#include <omath/Matrix.h>
|
||||
#include "omath/Vector3.h"
|
||||
#include <omath/Matrix.hpp>
|
||||
#include "omath/Vector3.hpp"
|
||||
|
||||
using namespace omath;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <gtest/gtest.h>
|
||||
#include <omath/prediction/Engine.h>
|
||||
#include <omath/prediction/Engine.hpp>
|
||||
|
||||
TEST(UnitTestPrediction, PredictionTest)
|
||||
{
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
//
|
||||
#include <complex>
|
||||
#include <gtest/gtest.h>
|
||||
#include <omath/Matrix.h>
|
||||
#include <omath/Matrix.hpp>
|
||||
#include <print>
|
||||
#include <omath/projection/Camera.h>
|
||||
#include <omath/projection/Camera.hpp>
|
||||
|
||||
TEST(UnitTestProjection, Projection)
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
//
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <omath/Vector2.h>
|
||||
#include <omath/Vector2.hpp>
|
||||
#include <cmath> // For std::isinf and std::isnan
|
||||
#include <cfloat> // For FLT_MAX and FLT_MIN
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
//
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <omath/Vector3.h>
|
||||
#include <omath/Vector3.hpp>
|
||||
#include <cmath>
|
||||
#include <cfloat> // For FLT_MAX, FLT_MIN
|
||||
#include <limits> // For std::numeric_limits
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <omath/Vector4.h>
|
||||
#include <omath/Vector4.hpp>
|
||||
#include <limits> // For std::numeric_limits
|
||||
|
||||
using namespace omath;
|
||||
|
||||
Reference in New Issue
Block a user