Rename Array.invert() to Array.reverse()
Does the same internally for List and Vector<>, which includes all PackedArray types.
This commit is contained in:
@ -1679,7 +1679,7 @@ CSGBrush *CSGPolygon3D::_build_brush() {
|
||||
Vector<Point2> final_polygon = polygon;
|
||||
|
||||
if (Triangulate::get_area(final_polygon) > 0) {
|
||||
final_polygon.invert();
|
||||
final_polygon.reverse();
|
||||
}
|
||||
|
||||
Vector<int> triangles = Geometry2D::triangulate_polygon(final_polygon);
|
||||
|
||||
Reference in New Issue
Block a user