Exemple #1
0
        public void Destroy()
        {
            if (Internal != null)
            {
                Internal.Destroy();

                Internal = null;
            }
        }
Exemple #2
0
        /// <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();
        }