diff options
Diffstat (limited to 'scene/resources/mesh.h')
-rw-r--r-- | scene/resources/mesh.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/resources/mesh.h b/scene/resources/mesh.h index 5c0e4e60aa..13fd986e81 100644 --- a/scene/resources/mesh.h +++ b/scene/resources/mesh.h @@ -34,7 +34,9 @@ #include "core/io/resource.h" #include "core/math/face3.h" #include "core/math/triangle_mesh.h" +#ifndef _3D_DISABLED #include "scene/resources/3d/shape_3d.h" +#endif // _3D_DISABLED #include "scene/resources/material.h" #include "servers/rendering_server.h" @@ -194,9 +196,11 @@ public: static ConvexDecompositionFunc convex_decomposition_function; +#ifndef _3D_DISABLED Vector<Ref<Shape3D>> convex_decompose(const Ref<MeshConvexDecompositionSettings> &p_settings) const; Ref<ConvexPolygonShape3D> create_convex_shape(bool p_clean = true, bool p_simplify = false) const; Ref<ConcavePolygonShape3D> create_trimesh_shape() const; +#endif // _3D_DISABLED virtual int get_builtin_bind_pose_count() const; virtual Transform3D get_builtin_bind_pose(int p_index) const; |