summaryrefslogtreecommitdiff
path: root/modules/csg
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-08-04 13:06:17 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-08-04 13:06:17 +0200
commit55845bac260628788fde2ea431ecaad3ff26d1bc (patch)
treebc7feab899ac0aa3d50403d618815fdd5be25165 /modules/csg
parent40eafcfab41191cd8e09125aeb825731189642ec (diff)
Fix some array size function definition mismatch.
Diffstat (limited to 'modules/csg')
-rw-r--r--modules/csg/csg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/csg/csg.cpp b/modules/csg/csg.cpp
index 93533e1690..6b05c146e6 100644
--- a/modules/csg/csg.cpp
+++ b/modules/csg/csg.cpp
@@ -729,7 +729,7 @@ void CSGBrushOperation::MeshMerge::mark_inside_faces() {
}
}
-void CSGBrushOperation::MeshMerge::add_face(const Vector3 p_points[], const Vector2 p_uvs[], bool p_smooth, bool p_invert, const Ref<Material> &p_material, bool p_from_b) {
+void CSGBrushOperation::MeshMerge::add_face(const Vector3 p_points[3], const Vector2 p_uvs[3], bool p_smooth, bool p_invert, const Ref<Material> &p_material, bool p_from_b) {
int indices[3];
for (int i = 0; i < 3; i++) {
VertexKey vk;