You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pool*Vector was replaced by Packed*Vector in 4.0. The documentation referencing them should be rewritten (not just renamed) as how packed vectors work internally is different from pooled vectors. You can find some information about it in Core refactoring progress report #1.
#10329 removed the references to Pool*Array and PoolVector, but I'm leaving this open for now to track the documentation of alternatives to Vector<> in 4.x.
Redirects may be out of scope at this point, since we're so far into the 4.x release cycle.
PoolVectorArrays were a thing in 3.x it seems
https://docs.godotengine.org/en/stable/classes/class_poolvector2array.html?highlight=poolvector2array
They don't exist in 4.x https://docs.godotengine.org/en/latest/classes/class_poolvector2array.html?highlight=poolvector2array
PackedVectorXArrays replaced them.
Yet, in the docs, there is still a location they are referenced:
https://docs.godotengine.org/en/latest/development/cpp/core_types.html?highlight=poolvector#allocating-memory
pool_vector.h especially is a dead link and has been long deleted. memory.h seems to have completely remade it to use MemoryStaticPool (can't confirm as I can't read the source code)
Related:
My suggestions to close this and the above issue:
Make https://docs.godotengine.org/en/latest/classes/class_poolvector2array.html?highlight=poolvector2array redirect to https://docs.godotengine.org/en/latest/classes/class_packedvector2array.html?highlight=packedvector2array
Same applies for Vector3 and whatever converted from pool -> packed
Update the https://docs.godotengine.org/en/latest/development/cpp/core_types.html?highlight=poolvector#allocating-memory with whatever is the new memory return/format
The text was updated successfully, but these errors were encountered: