summaryrefslogtreecommitdiff
path: root/scene/resources/mesh.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-09-10 23:36:07 +0200
committerGitHub <noreply@github.com>2018-09-10 23:36:07 +0200
commitefeb88b102f35a5e10f76b7dd9babd9f108dc474 (patch)
tree7235ea396bced2cf31d24a3117089a8a3a9898a0 /scene/resources/mesh.h
parentc440bf82d64017270b86bcd9060e80a4beb3e4f9 (diff)
parent216ba4cc8b12d6f9c65a176b549f80cdc22ba114 (diff)
Merge pull request #21907 from JFonS/concave_collision_gizmo
Fix SoftBody gizmo slowness, add ConcaveShape wireframe
Diffstat (limited to 'scene/resources/mesh.h')
-rw-r--r--scene/resources/mesh.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/scene/resources/mesh.h b/scene/resources/mesh.h
index 36bfca49f8..5ab28e9785 100644
--- a/scene/resources/mesh.h
+++ b/scene/resources/mesh.h
@@ -44,11 +44,10 @@ class Mesh : public Resource {
GDCLASS(Mesh, Resource);
mutable Ref<TriangleMesh> triangle_mesh; //cached
+ mutable Vector<Vector3> debug_lines;
Size2 lightmap_size_hint;
protected:
- void _clear_triangle_mesh() const;
-
static void _bind_methods();
public:
@@ -146,7 +145,7 @@ public:
void set_lightmap_size_hint(const Vector2 &p_size);
Size2 get_lightmap_size_hint() const;
- void clear_cache();
+ void clear_cache() const;
Mesh();
};