Vector2D AngleBetweenVector Method Delta Engine Documentation

Namespace: DeltaEngine.Datatypes
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public float AngleBetweenVector(
	Vector2D vector
)

Return Value

Type: Single
Remarks

Tests: DeltaEngine.Tests.Datatypes.Vector2DTests
Examples

1 unit tests call DeltaEngine.Datatypes.Vector2D.AngleBetweenVector(DeltaEngine.Datatypes.Vector2D)
[Test]
public void AngleBetweenVector()
{
    Assert.AreEqual(90, Vector2D.UnitY.AngleBetweenVector(Vector2D.UnitX));
}
See Also