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 UpdateCenterOfGrid() { var grid = new Grid3D(new Size(1)); Assert.AreEqual(Vector3D.Zero, grid.Position); grid.Position = new Vector3D(1, 1, 0); Assert.AreEqual(4, EntitiesRunner.Current.GetEntitiesOfType<Line3D>().Count); Assert.AreEqual(new Vector3D(1, 1, 0), grid.Position); }
See Also