add ONE constants to Vector2 and Vector3

This commit is contained in:
Kelly Thomas
2018-10-07 02:13:41 +08:00
parent a41cf404a9
commit 215db9ff71
3 changed files with 10 additions and 2 deletions

View File

@@ -267,7 +267,10 @@
</members>
<constants>
<constant name="ZERO" value="Vector2( 0, 0 )">
Null vector.
Zero vector.
</constant>
<constant name="ONE" value="Vector2( 1, 1 )">
One vector.
</constant>
<constant name="INF" value="Vector2( inf, inf )">
Infinite vector.