mirror of https://github.com/godotengine/godot
Merge 2a1df841c8 into 15ff450680
This commit is contained in:
commit
789e8bc8a9
|
|
@ -121,7 +121,7 @@ public:
|
||||||
return occurrences;
|
return occurrences;
|
||||||
}
|
}
|
||||||
|
|
||||||
void invert() {
|
void reverse() {
|
||||||
for (U i = 0; i < count / 2; i++) {
|
for (U i = 0; i < count / 2; i++) {
|
||||||
SWAP(data[i], data[count - i - 1]);
|
SWAP(data[i], data[count - i - 1]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -103,10 +103,10 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
void path_reverse() {
|
void path_reverse() {
|
||||||
path_points.invert();
|
path_points.reverse();
|
||||||
path_meta_point_types.invert();
|
path_meta_point_types.reverse();
|
||||||
path_meta_point_rids.invert();
|
path_meta_point_rids.reverse();
|
||||||
path_meta_point_owners.invert();
|
path_meta_point_owners.reverse();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue