1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

PoolVector is gone, replaced by Vector

Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are
sugar for `Vector<Type>`.
This commit is contained in:
Juan Linietsky
2020-02-17 18:06:54 -03:00
committed by Juan Linietsky
parent fb8c93c10b
commit 3205a92ad8
406 changed files with 5314 additions and 8271 deletions

View File

@@ -470,11 +470,11 @@ void Polygon3DEditor::_polygon_draw() {
Array a;
a.resize(Mesh::ARRAY_MAX);
PoolVector<Vector3> va;
Vector<Vector3> va;
{
va.resize(poly.size());
PoolVector<Vector3>::Write w = va.write();
Vector3 *w = va.ptrw();
for (int i = 0; i < poly.size(); i++) {
Vector2 p, p2;