Esempio n. 1
0
        /**
         * This is for Visual debugging purposes in the editor
         */
        public void OnDrawGizmos()
        {
            if (slicePoint == null)
            {
                return;
            }

            SliceFramework.Plane cuttingPlane = new SliceFramework.Plane();
            cuttingPlane.Compute(slicePoint);
            cuttingPlane.OnDebugDraw();
        }