FreeCameraTests RotateThenMove Method Delta Engine Documentation

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

public void RotateThenMove()
Examples

[Test, CloseAfterFirstFrame]
public void RotateThenMove()
{
    camera.Rotate(Vector3D.UnitZ, 90.0f);
    camera.Move(Vector3D.UnitX, 1.0f);
    Assert.IsTrue(camera.Position.IsNearlyEqual(new Vector3D(0.0f, 6.0f, 5.0f)));
}
See Also