Unify descriptions of vector methods

* is_equal_approx
* normalize
* length_squared
* posmod
* posmodv
This commit is contained in:
Haoyu Qiu
2023-04-14 14:39:35 +08:00
parent 4dcf2c5431
commit 6cd8e706fa
4 changed files with 11 additions and 9 deletions

View File

@@ -65,7 +65,8 @@
<method name="length_squared" qualifiers="const">
<return type="int" />
<description>
Returns the squared length (squared magnitude) of this vector. This method runs faster than [method length].
Returns the squared length (squared magnitude) of this vector.
This method runs faster than [method length], so prefer it if you need to compare vectors or need the squared distance for some formula.
</description>
</method>
<method name="max_axis_index" qualifiers="const">