Namespace: DeltaEngine.Rendering3D.Shapes.Tests
Assembly: DeltaEngine.Rendering3D.Shapes.Tests (in DeltaEngine.Rendering3D.Shapes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Rendering3D.Shapes.Tests (in DeltaEngine.Rendering3D.Shapes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void UpdateCenterAndRadius() { CreateLookAtCamera(Vector3D.One * 4.0f, Vector3D.Zero); var ellipse = new Circle3D(Vector3D.Zero, 3.0f, Color.Red); Assert.AreEqual(Vector3D.Zero, ellipse.Center); Assert.AreEqual(3.0f, ellipse.Radius); ellipse.Center = Vector3D.UnitX; ellipse.Radius = 2.0f; Assert.AreEqual(Vector3D.UnitX, ellipse.Center); Assert.AreEqual(2.0f, ellipse.Radius); }
See Also