Programming API Reference: EduGraf.Tensors
Class public Vector4
This represents a displacement in 4d-space, i.e. homogeneous coordinates.public static readonly Vector4
Zeropublic static readonly Vector4
UnitXpublic static readonly Vector4
UnitYpublic static readonly Vector4
UnitZpublic static readonly Vector4
UnitWProperty public Vector3
Xyz { get }: Get this vector without the homogeneous coordinate.Method public float
Length()
Return the euclidean length of this vector.Method public static float
Dot()
Method public static Vector4
Normalize()
Return a new vector in the same direction with length 1.Operator public static Vector4
-()
Operator public static Vector4
+()
Operator public static Vector4
-()
Operator public static Vector4
*()
Operator public static Vector4
*()
Operator public static Vector4
*()
Operator public static Vector4
*()