This commit is contained in:
さくらみこ
2024-12-17 07:24:44 +03:00
parent 075c553521
commit 193e87847a
18 changed files with 40 additions and 40 deletions

View File

@@ -6,7 +6,7 @@
#include "omath/Angles.hpp" #include "omath/Angles.hpp"
#include <algorithm> #include <algorithm>
#include "omath_export.h" #include "omath/omath_export.hpp"
namespace omath namespace omath
{ {

View File

@@ -7,7 +7,7 @@
#include "omath/Vector3.hpp" #include "omath/Vector3.hpp"
#include <cstdint> #include <cstdint>
#include "omath/Vector4.hpp" #include "omath/Vector4.hpp"
#include "omath_export.h" #include "omath/omath_export.hpp"
namespace omath namespace omath
{ {

View File

@@ -8,7 +8,7 @@
#include <stdexcept> #include <stdexcept>
#include <utility> #include <utility>
#include "Vector3.hpp" #include "Vector3.hpp"
#include "omath_export.h" #include "omath/omath_export.hpp"
namespace omath namespace omath
{ {

View File

@@ -2,7 +2,7 @@
#include <initializer_list> #include <initializer_list>
#include <memory> #include <memory>
#include <string> #include <string>
#include "omath_export.h" #include "omath/omath_export.hpp"
namespace omath namespace omath
{ {

View File

@@ -3,7 +3,7 @@
// //
#pragma once #pragma once
#include "omath/Vector3.hpp" #include "omath/Vector3.hpp"
#include "omath_export.h" #include "omath/omath_export.hpp"
namespace omath namespace omath
{ {

View File

@@ -5,7 +5,7 @@
#pragma once #pragma once
#include <tuple> #include <tuple>
#include <cmath> #include <cmath>
#include "omath_export.h" #include "omath/omath_export.hpp"
namespace omath namespace omath
{ {

View File

@@ -7,7 +7,7 @@
#include <cstdint> #include <cstdint>
#include <functional> #include <functional>
#include "omath/Vector2.hpp" #include "omath/Vector2.hpp"
#include "omath_export.h" #include "omath/omath_export.hpp"
namespace omath namespace omath
{ {

View File

@@ -5,7 +5,7 @@
#include <omath/Vector3.hpp> #include <omath/Vector3.hpp>
#include <algorithm> #include <algorithm>
#include "omath_export.h" #include "omath/omath_export.hpp"
namespace omath namespace omath
{ {

View File

@@ -3,7 +3,7 @@
// //
#pragma once #pragma once
#include "omath_export.h" #include "omath/omath_export.hpp"
namespace omath namespace omath
{ {

View File

@@ -5,7 +5,7 @@
#include "omath/Vector3.hpp" #include "omath/Vector3.hpp"
#include "omath/Triangle3d.hpp" #include "omath/Triangle3d.hpp"
#include "../omath_export.h" #include "omath/omath_export.hpp"
namespace omath::collision namespace omath::collision
{ {

View File

@@ -4,7 +4,7 @@
#pragma once #pragma once
#include "Constants.h" #include "Constants.h"
#include "omath/projection/Camera.hpp" #include "omath/projection/Camera.hpp"
#include "../../omath_export.h" #include "omath/omath_export.hpp"
namespace omath::source namespace omath::source
{ {

View File

@@ -1,24 +1,24 @@
#pragma once #pragma once
/* Export prefix for functions */ /* Export prefix for functions */
#ifdef _MSC_VER #ifdef _MSC_VER
/* MSVC */ /* MSVC */
# define OMATH_API_EXPORT __declspec(dllexport) # define OMATH_API_EXPORT __declspec(dllexport)
#else #else
/* GCC/Clang */ /* GCC/Clang */
# define OMATH_API_EXPORT __attribute__((visibility("default"))) # define OMATH_API_EXPORT __attribute__((visibility("default")))
#endif #endif
/* Import prefix for functions */ /* Import prefix for functions */
#ifdef _MSC_VER #ifdef _MSC_VER
# define OMATH_API_IMPORT __declspec(dllimport) # define OMATH_API_IMPORT __declspec(dllimport)
#else #else
# define OMATH_API_IMPORT extern # define OMATH_API_IMPORT extern
#endif #endif
/* Resolve import/export */ /* Resolve import/export */
#ifdef OMATH_EXPORT #ifdef OMATH_EXPORT
# define OMATH_API OMATH_API_EXPORT # define OMATH_API OMATH_API_EXPORT
#else #else
# define OMATH_API OMATH_API_IMPORT # define OMATH_API OMATH_API_IMPORT
#endif #endif

View File

@@ -6,7 +6,7 @@
#include <vector> #include <vector>
#include "NavigationMesh.hpp" #include "NavigationMesh.hpp"
#include "omath/Vector3.hpp" #include "omath/Vector3.hpp"
#include "../omath_export.h" #include "omath/omath_export.hpp"
namespace omath::pathfinding namespace omath::pathfinding
{ {

View File

@@ -8,7 +8,7 @@
#include <expected> #include <expected>
#include <vector> #include <vector>
#include <string> #include <string>
#include "../omath_export.h" #include "omath/omath_export.hpp"
namespace omath::pathfinding namespace omath::pathfinding
{ {

View File

@@ -8,7 +8,7 @@
#include "omath/Vector3.hpp" #include "omath/Vector3.hpp"
#include "omath/prediction/Projectile.hpp" #include "omath/prediction/Projectile.hpp"
#include "omath/prediction/Target.hpp" #include "omath/prediction/Target.hpp"
#include "../omath_export.h" #include "omath/omath_export.hpp"
namespace omath::prediction namespace omath::prediction
{ {

View File

@@ -4,7 +4,7 @@
#pragma once #pragma once
#include "omath/Vector3.hpp" #include "omath/Vector3.hpp"
#include "../omath_export.h" #include "omath/omath_export.hpp"
namespace omath::prediction namespace omath::prediction
{ {

View File

@@ -4,7 +4,7 @@
#pragma once #pragma once
#include "omath/Vector3.hpp" #include "omath/Vector3.hpp"
#include "../omath_export.h" #include "omath/omath_export.hpp"
namespace omath::prediction namespace omath::prediction
{ {

View File

@@ -10,7 +10,7 @@
#include "ErrorCodes.hpp" #include "ErrorCodes.hpp"
#include <omath/Angle.hpp> #include <omath/Angle.hpp>
#include <type_traits> #include <type_traits>
#include "../omath_export.h" #include <omath/omath_export.hpp>
namespace omath::projection namespace omath::projection
{ {