mirror of
https://github.com/Relintai/props.git
synced 2024-11-12 10:15:25 +01:00
Fix build for 4.0.
This commit is contained in:
parent
152be1328b
commit
0aceb2aeca
@ -23,7 +23,15 @@ SOFTWARE.
|
||||
#ifndef PROP_ESS_ENTITY_H
|
||||
#define PROP_ESS_ENTITY_H
|
||||
|
||||
#include "core/version.h"
|
||||
|
||||
#if VERSION_MAJOR < 4
|
||||
#include "scene/3d/spatial.h"
|
||||
#else
|
||||
#include "scene/3d/node_3d.h"
|
||||
|
||||
#define Spatial Node3D
|
||||
#endif
|
||||
|
||||
#include "core/math/vector3.h"
|
||||
|
||||
|
@ -23,7 +23,15 @@ SOFTWARE.
|
||||
#ifndef PROP_INSTANCE_H
|
||||
#define PROP_INSTANCE_H
|
||||
|
||||
#include "core/version.h"
|
||||
|
||||
#if VERSION_MAJOR < 4
|
||||
#include "scene/3d/spatial.h"
|
||||
#else
|
||||
#include "scene/3d/node_3d.h"
|
||||
|
||||
#define Spatial Node3D
|
||||
#endif
|
||||
|
||||
#include "core/math/vector3.h"
|
||||
|
||||
|
@ -23,7 +23,15 @@ SOFTWARE.
|
||||
#ifndef PROP_MESH_DATA_INSTANCE_H
|
||||
#define PROP_MESH_DATA_INSTANCE_H
|
||||
|
||||
#include "core/version.h"
|
||||
|
||||
#if VERSION_MAJOR < 4
|
||||
#include "scene/3d/spatial.h"
|
||||
#else
|
||||
#include "scene/3d/node_3d.h"
|
||||
|
||||
#define Spatial Node3D
|
||||
#endif
|
||||
|
||||
#include "core/math/vector3.h"
|
||||
|
||||
|
@ -23,7 +23,15 @@ SOFTWARE.
|
||||
#ifndef PROP_VOXELMAN_LIGHT_H
|
||||
#define PROP_VOXELMAN_LIGHT_H
|
||||
|
||||
#include "core/version.h"
|
||||
|
||||
#if VERSION_MAJOR < 4
|
||||
#include "scene/3d/spatial.h"
|
||||
#else
|
||||
#include "scene/3d/node_3d.h"
|
||||
|
||||
#define Spatial Node3D
|
||||
#endif
|
||||
|
||||
#include "core/math/vector3.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user