|
@@ -734,7 +734,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];
|
|
int indices[3];
|
|
for (int i = 0; i < 3; i++) {
|
|
for (int i = 0; i < 3; i++) {
|