RayTests CreateRay 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 CreateRay()
Examples

[Test]
public void CreateRay()
{
    var ray = new Ray(Vector3D.Zero, Vector3D.UnitZ);
    Assert.AreEqual(ray.Origin, Vector3D.Zero);
    Assert.AreEqual(ray.Direction, Vector3D.UnitZ);
}
See Also