public void Destroy() { if (Internal != null) { Internal.Destroy(); Internal = null; } }
/// <summary> /// Constructs the instance without vertices/indices /// </summary> public MeshBasic(VisualEngine engine) { this.engine = engine; Internal = new GraphicsEngineSpace._MeshBasic(engine.Device); BoundingBox = new BoundingBox(); BoundingSphere = new BoundingSphere(); }