Vector3DTests Statics 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 Statics()
Examples

[Test]
public void Statics()
{
    Assert.AreEqual(new Vector3D(0, 0, 0), Vector3D.Zero);
    Assert.AreEqual(new Vector3D(1, 1, 1), Vector3D.One);
    Assert.AreEqual(new Vector3D(1, 0, 0), Vector3D.UnitX);
    Assert.AreEqual(new Vector3D(0, 1, 0), Vector3D.UnitY);
    Assert.AreEqual(new Vector3D(0, 0, 1), Vector3D.UnitZ);
    Assert.AreEqual(12, Vector3D.SizeInBytes);
}
See Also