Use static linking instead of dynamic linking
This commit is contained in:
@@ -1,16 +1,6 @@
|
||||
#ifndef BASIS_H
|
||||
#define BASIS_H
|
||||
|
||||
#if defined(_WIN32)
|
||||
# ifdef _GD_CPP_CORE_API_IMPL
|
||||
# define GD_CPP_CORE_API __declspec(dllexport)
|
||||
# else
|
||||
# define GD_CPP_CORE_API __declspec(dllimport)
|
||||
# endif
|
||||
#else
|
||||
# define GD_CPP_CORE_API
|
||||
#endif
|
||||
|
||||
#include "Defs.hpp"
|
||||
|
||||
#include "Vector3.hpp"
|
||||
@@ -19,10 +9,12 @@ namespace godot {
|
||||
|
||||
class Quat;
|
||||
|
||||
class GD_CPP_CORE_API Basis {
|
||||
class Basis {
|
||||
public:
|
||||
|
||||
Vector3 elements[3];
|
||||
union {
|
||||
Vector3 elements[3];
|
||||
Vector3 x, y, z;
|
||||
};
|
||||
|
||||
Basis(const Quat& p_quat); // euler
|
||||
Basis(const Vector3& p_euler); // euler
|
||||
|
||||
Reference in New Issue
Block a user