Namespace: DeltaEngine.Datatypes
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Tests.Datatypes.Vector2DTests
1 unit tests call DeltaEngine.Datatypes.Vector2D.LengthSquared
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: SingleRemarks
Examples
[Test] public void LengthSquared() { Assert.AreEqual(5, new Vector2D(1, -2).LengthSquared); Assert.AreEqual(8.5f, new Vector2D(-1.5f, 2.5f).LengthSquared); }
See Also