Example #1
0
        protected override Multishape CreateWorkingClone()
        {
            TerrainShape clone = new TerrainShape();

            clone.heights            = this.heights;
            clone.scaleX             = this.scaleX;
            clone.scaleZ             = this.scaleZ;
            clone.boundings          = this.boundings;
            clone.heightsLength0     = this.heightsLength0;
            clone.heightsLength1     = this.heightsLength1;
            clone.sphericalExpansion = this.sphericalExpansion;
            return(clone);
        }
Example #2
0
 protected override Multishape CreateWorkingClone()
 {
     TerrainShape clone = new TerrainShape();
     clone.heights = this.heights;
     clone.scaleX = this.scaleX;
     clone.scaleZ = this.scaleZ;
     clone.boundings = this.boundings;
     clone.heightsLength0 = this.heightsLength0;
     clone.heightsLength1 = this.heightsLength1;
     clone.sphericalExpansion = this.sphericalExpansion;
     return clone;
 }