mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
fixup
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include "omath/Angles.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include "omath_export.h"
|
||||
#include "omath/omath_export.hpp"
|
||||
|
||||
namespace omath
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "omath/Vector3.hpp"
|
||||
#include <cstdint>
|
||||
#include "omath/Vector4.hpp"
|
||||
#include "omath_export.h"
|
||||
#include "omath/omath_export.hpp"
|
||||
|
||||
namespace omath
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <stdexcept>
|
||||
#include <utility>
|
||||
#include "Vector3.hpp"
|
||||
#include "omath_export.h"
|
||||
#include "omath/omath_export.hpp"
|
||||
|
||||
namespace omath
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include <initializer_list>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include "omath_export.h"
|
||||
#include "omath/omath_export.hpp"
|
||||
|
||||
namespace omath
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
//
|
||||
#pragma once
|
||||
#include "omath/Vector3.hpp"
|
||||
#include "omath_export.h"
|
||||
#include "omath/omath_export.hpp"
|
||||
|
||||
namespace omath
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#pragma once
|
||||
#include <tuple>
|
||||
#include <cmath>
|
||||
#include "omath_export.h"
|
||||
#include "omath/omath_export.hpp"
|
||||
|
||||
namespace omath
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include "omath/Vector2.hpp"
|
||||
#include "omath_export.h"
|
||||
#include "omath/omath_export.hpp"
|
||||
|
||||
namespace omath
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include <omath/Vector3.hpp>
|
||||
#include <algorithm>
|
||||
#include "omath_export.h"
|
||||
#include "omath/omath_export.hpp"
|
||||
|
||||
namespace omath
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
//
|
||||
#pragma once
|
||||
|
||||
#include "omath_export.h"
|
||||
#include "omath/omath_export.hpp"
|
||||
|
||||
namespace omath
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "omath/Vector3.hpp"
|
||||
#include "omath/Triangle3d.hpp"
|
||||
#include "../omath_export.h"
|
||||
#include "omath/omath_export.hpp"
|
||||
|
||||
namespace omath::collision
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#pragma once
|
||||
#include "Constants.h"
|
||||
#include "omath/projection/Camera.hpp"
|
||||
#include "../../omath_export.h"
|
||||
#include "omath/omath_export.hpp"
|
||||
|
||||
namespace omath::source
|
||||
{
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
/* Export prefix for functions */
|
||||
#ifdef _MSC_VER
|
||||
/* MSVC */
|
||||
# define OMATH_API_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
/* GCC/Clang */
|
||||
# define OMATH_API_EXPORT __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
/* Import prefix for functions */
|
||||
#ifdef _MSC_VER
|
||||
# define OMATH_API_IMPORT __declspec(dllimport)
|
||||
#else
|
||||
# define OMATH_API_IMPORT extern
|
||||
#endif
|
||||
|
||||
/* Resolve import/export */
|
||||
#ifdef OMATH_EXPORT
|
||||
# define OMATH_API OMATH_API_EXPORT
|
||||
#else
|
||||
# define OMATH_API OMATH_API_IMPORT
|
||||
#pragma once
|
||||
|
||||
/* Export prefix for functions */
|
||||
#ifdef _MSC_VER
|
||||
/* MSVC */
|
||||
# define OMATH_API_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
/* GCC/Clang */
|
||||
# define OMATH_API_EXPORT __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
/* Import prefix for functions */
|
||||
#ifdef _MSC_VER
|
||||
# define OMATH_API_IMPORT __declspec(dllimport)
|
||||
#else
|
||||
# define OMATH_API_IMPORT extern
|
||||
#endif
|
||||
|
||||
/* Resolve import/export */
|
||||
#ifdef OMATH_EXPORT
|
||||
# define OMATH_API OMATH_API_EXPORT
|
||||
#else
|
||||
# define OMATH_API OMATH_API_IMPORT
|
||||
#endif
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <vector>
|
||||
#include "NavigationMesh.hpp"
|
||||
#include "omath/Vector3.hpp"
|
||||
#include "../omath_export.h"
|
||||
#include "omath/omath_export.hpp"
|
||||
|
||||
namespace omath::pathfinding
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <expected>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include "../omath_export.h"
|
||||
#include "omath/omath_export.hpp"
|
||||
|
||||
namespace omath::pathfinding
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "omath/Vector3.hpp"
|
||||
#include "omath/prediction/Projectile.hpp"
|
||||
#include "omath/prediction/Target.hpp"
|
||||
#include "../omath_export.h"
|
||||
#include "omath/omath_export.hpp"
|
||||
|
||||
namespace omath::prediction
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
#include "omath/Vector3.hpp"
|
||||
#include "../omath_export.h"
|
||||
#include "omath/omath_export.hpp"
|
||||
|
||||
namespace omath::prediction
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
#include "omath/Vector3.hpp"
|
||||
#include "../omath_export.h"
|
||||
#include "omath/omath_export.hpp"
|
||||
|
||||
namespace omath::prediction
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "ErrorCodes.hpp"
|
||||
#include <omath/Angle.hpp>
|
||||
#include <type_traits>
|
||||
#include "../omath_export.h"
|
||||
#include <omath/omath_export.hpp>
|
||||
|
||||
namespace omath::projection
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user