[Doc] Clarify the behavior of Vector2/3.cross and mention parallel vectors

This commit is contained in:
A Thousand Ships
2024-03-31 16:08:20 +02:00
parent 29b3d9e9e5
commit 47a8033698
2 changed files with 2 additions and 1 deletions

View File

@@ -108,6 +108,7 @@
<param index="0" name="with" type="Vector3" />
<description>
Returns the cross product of this vector and [param with].
This returns a vector perpendicular to both this and [param with], which would be the normal vector of the plane defined by the two vectors. As there are two such vectors, in opposite directions, this method returns the vector defined by a right-handed coordinate system. If the two vectors are parallel this returns an empty vector, making it useful for testing if two vectors are parallel.
</description>
</method>
<method name="cubic_interpolate" qualifiers="const">