Make Vector<T>::duplicate() const

Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
This commit is contained in:
David Snopek
2025-11-01 14:00:38 -05:00
parent fc58be9bfc
commit bc9f3c7d92
13 changed files with 64 additions and 11 deletions

View File

@@ -71,7 +71,7 @@
[b]Note:[/b] [constant @GDScript.NAN] doesn't behave the same as other numbers. Therefore, the results from this method may not be accurate if NaNs are included.
</description>
</method>
<method name="duplicate">
<method name="duplicate" qualifiers="const">
<return type="PackedFloat32Array" />
<description>
Creates a copy of the array, and returns it.