Namespace: DeltaEngine.Physics2D.Tests
Assembly: DeltaEngine.Physics2D.Tests (in DeltaEngine.Physics2D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Physics2D.Tests (in DeltaEngine.Physics2D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void CreatePolygonFromPoints() { Vector2D[] points = { Vector2D.Zero, Vector2D.Half, Vector2D.One, Vector2D.UnitX }; var polygon = physics.CreatePolygon(points); Assert.IsNotEmpty(polygon.LineVertices); }
See Also