mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-20 06:34:23 +01:00
Moved more includes from headers to cpp files.
This commit is contained in:
parent
f105eba923
commit
d996789533
@ -33,6 +33,7 @@
|
||||
#include "collision_object.h"
|
||||
#include "scene/resources/concave_polygon_shape.h"
|
||||
#include "scene/resources/convex_polygon_shape.h"
|
||||
#include "scene/resources/shape.h"
|
||||
|
||||
void CollisionPolygon::_build_polygon() {
|
||||
if (!parent) {
|
||||
|
@ -32,9 +32,11 @@
|
||||
#define COLLISION_POLYGON_H
|
||||
|
||||
#include "scene/3d/spatial.h"
|
||||
#include "scene/resources/shape.h"
|
||||
#include "core/reference.h"
|
||||
|
||||
class CollisionObject;
|
||||
class Shape;
|
||||
|
||||
class CollisionPolygon : public Spatial {
|
||||
GDCLASS(CollisionPolygon, Spatial);
|
||||
real_t margin = 0.04;
|
||||
|
@ -41,6 +41,7 @@
|
||||
#include "scene/resources/ray_shape.h"
|
||||
#include "scene/resources/sphere_shape.h"
|
||||
#include "servers/visual_server.h"
|
||||
#include "scene/resources/shape.h"
|
||||
|
||||
void CollisionShape::make_convex_from_brothers() {
|
||||
Node *p = get_parent();
|
||||
|
@ -32,8 +32,11 @@
|
||||
#define COLLISION_SHAPE_H
|
||||
|
||||
#include "scene/3d/spatial.h"
|
||||
#include "scene/resources/shape.h"
|
||||
#include "core/reference.h"
|
||||
|
||||
class CollisionObject;
|
||||
class shape;
|
||||
|
||||
class CollisionShape : public Spatial {
|
||||
GDCLASS(CollisionShape, Spatial);
|
||||
OBJ_CATEGORY("3D Physics Nodes");
|
||||
|
@ -32,8 +32,11 @@
|
||||
#define IMMEDIATE_GEOMETRY_H
|
||||
|
||||
#include "scene/3d/visual_instance.h"
|
||||
|
||||
#include "scene/resources/mesh.h"
|
||||
|
||||
class Texture;
|
||||
|
||||
class ImmediateGeometry : public GeometryInstance {
|
||||
GDCLASS(ImmediateGeometry, GeometryInstance);
|
||||
|
||||
|
@ -32,7 +32,6 @@
|
||||
#define LIGHT_H
|
||||
|
||||
#include "scene/3d/visual_instance.h"
|
||||
#include "scene/resources/texture.h"
|
||||
#include "servers/visual_server.h"
|
||||
|
||||
class Light : public VisualInstance {
|
||||
|
Loading…
Reference in New Issue
Block a user