summaryrefslogtreecommitdiff
path: root/scene/resources/shape.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/shape.h')
-rw-r--r--scene/resources/shape.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/scene/resources/shape.h b/scene/resources/shape.h
index 29a93b642c..8a8ecf1228 100644
--- a/scene/resources/shape.h
+++ b/scene/resources/shape.h
@@ -34,26 +34,24 @@ class Mesh;
class Shape : public Resource {
- GDCLASS( Shape, Resource );
- OBJ_SAVE_TYPE( Shape );
+ GDCLASS(Shape, Resource);
+ OBJ_SAVE_TYPE(Shape);
RES_BASE_EXTENSION("shp");
RID shape;
Ref<Mesh> debug_mesh_cache;
protected:
-
_FORCE_INLINE_ RID get_shape() const { return shape; }
Shape(RID p_shape);
- virtual Vector<Vector3> _gen_debug_mesh_lines()=0;// { return Vector<Vector3>(); }
+ virtual Vector<Vector3> _gen_debug_mesh_lines() = 0; // { return Vector<Vector3>(); }
public:
-
virtual RID get_rid() const { return shape; }
Ref<Mesh> get_debug_mesh();
- void add_vertices_to_array(PoolVector<Vector3> &array, const Transform& p_xform);
+ void add_vertices_to_array(PoolVector<Vector3> &array, const Transform &p_xform);
Shape();
~Shape();