コード例 #1
0
ファイル: TerrainShape.cs プロジェクト: Avatarchik/JPhysics
        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);
        }
コード例 #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;
 }