Click or drag to resize

Vector3CalculateAngle Method (Vector3, Vector3)

Calculates the angle (in radians) between two vectors.

Namespace:  Internal.Net3dBool
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static double CalculateAngle(
	Vector3 first,
	Vector3 second
)

Parameters

first
Type: Internal.Net3dBoolVector3
The first vector.
second
Type: Internal.Net3dBoolVector3
The second vector.

Return Value

Type: Double
Angle (in radians) between the vectors.
Remarks
Note that the returned angle is never bigger than the constant Pi.
See Also