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); } }
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); }
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); }
public void CopyRange(Vector2I start, Vector2I end, IMyWrappedCubemapFace other, Vector2I oStart, Vector2I oEnd) { this.CopyRange(start, end, other as MyHeightmapFace, oStart, oEnd); }