summaryrefslogtreecommitdiff
path: root/scene/resources/immediate_mesh.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/immediate_mesh.h')
-rw-r--r--scene/resources/immediate_mesh.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/immediate_mesh.h b/scene/resources/immediate_mesh.h
index 6673ee6f3d..92bf91441d 100644
--- a/scene/resources/immediate_mesh.h
+++ b/scene/resources/immediate_mesh.h
@@ -75,6 +75,8 @@ class ImmediateMesh : public Mesh {
Vector<uint8_t> surface_vertex_create_cache;
Vector<uint8_t> surface_attribute_create_cache;
+ const Vector3 SMALL_VEC3 = Vector3(CMP_EPSILON, CMP_EPSILON, CMP_EPSILON);
+
protected:
static void _bind_methods();