Vector2DTests ChangePoint Method Delta Engine Documentation

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

public void ChangePoint()
Examples

[Test]
public void ChangePoint()
{
    var v = new Vector2D(1.0f, 1.0f) { X = 2.1f, Y = 2.1f };
    Assert.AreEqual(2.1f, v.X);
    Assert.AreEqual(2.1f, v.Y);
}
See Also