Exemplo n.º 1
0
        public void CopyRange(Vector2I start, Vector2I end, IMyWrappedCubemapFace other, Vector2I oStart, Vector2I oEnd)
        {
            MyCubemapData <TPixel> data = other as MyCubemapData <TPixel>;

            if (data != null)
            {
                this.CopyRange(start, end, data, oStart, oEnd);
            }
        }
Exemplo n.º 2
0
        public void CopyRange(Vector2I start, Vector2I end, IMyWrappedCubemapFace other, Vector2I oStart, Vector2I oEnd)
        {
            var o = other as MyCubemapData <T>;

            if (o == null)
            {
                Debug.Fail("Cannot copy range between heightmap faces that are not the same type.");
                return;
            }

            CopyRange(start, end, o, oStart, oEnd);
        }
Exemplo n.º 3
0
        public void CopyRange(Vector2I start, Vector2I end, IMyWrappedCubemapFace other, Vector2I oStart, Vector2I oEnd)
        {
            Debug.Assert(other is MyHeightmapFace);

            CopyRange(start, end, other as MyHeightmapFace, oStart, oEnd);
        }
Exemplo n.º 4
0
 public void CopyRange(Vector2I start, Vector2I end, IMyWrappedCubemapFace other, Vector2I oStart, Vector2I oEnd)
 {
     this.CopyRange(start, end, other as MyHeightmapFace, oStart, oEnd);
 }