Vector3Dot Method (Vector3, Vector3) |
[This is preliminary documentation and is subject to change.]
Calculates the dot product of two vectors. If the two vectors are unit vectors, the dot product returns a floating point value between -1 and 1 that can be used to determine some properties of the angle between two vectors. For example, it can show whether the vectors are orthogonal, parallel, or have an acute or obtuse angle between them.
Namespace: VRageMathAssembly: VRage.Math (in VRage.Math.dll) Version: 1.0.0.0
Syntax public static float Dot(
Vector3 vector1,
Vector3 vector2
)
Parameters
- vector1
- Type: VRageMathVector3
Source vector. - vector2
- Type: VRageMathVector3
Source vector.
Return Value
Type:
Single[Missing <returns> documentation for "M:VRageMath.Vector3.Dot(VRageMath.Vector3,VRageMath.Vector3)"]
See Also