Programming API Reference: EduGraf.Tensors
Class public Vector2
This represents a displacement in 2d-space.public static readonly Vector2
Zeropublic static readonly Vector2
UnitXpublic static readonly Vector2
UnitYMethod public float
Length()
Return the euclidean length of this vector.Method public static float
Dot()
Method public static Vector2
Normalize()
Return a new vector in the same direction with length 1.Operator public static Vector2
+()
Operator public static Vector2
-()
Operator public static Vector2
*()
Operator public static Vector2
*()
Operator public static Vector2
*()