Esempio n. 1
0
 public PandO clone()
 {
     PandO newClone = new PandO();
     newClone.position = this.position.clone();
     newClone.up = this.up.clone();
     newClone.forward = this.forward.clone();
     return newClone;
 }
Esempio n. 2
0
        public PandO clone()
        {
            PandO newClone = new PandO();

            newClone.position = this.position.clone();
            newClone.up       = this.up.clone();
            newClone.forward  = this.forward.clone();
            return(newClone);
        }
Esempio n. 3
0
 public void reOrient(PandO offset_pando, coord offset_min, coord offset_max)
 {
     this.dirty = true;
     foreach (CubeBlock cb in CubeBlocks)
     {
         this.parent_sector.main_form.update_status("Reorientating: " + cb.EntityId);
         cb.PositionAndOrientation.position.offset(offset_pando.position);
         cb.Min.offset(offset_min);
         cb.Max.offset(offset_max);
     }
     this.parent_sector.main_form.update_status("");
 }
Esempio n. 4
0
 public void reOrient(PandO offset_pando, coord offset_min, coord offset_max)
 {
     this.dirty = true;
     foreach (CubeBlock cb in CubeBlocks)
     {
         this.parent_sector.main_form.update_status("Reorientating: " + cb.EntityId);
         cb.PositionAndOrientation.position.offset(offset_pando.position);
         cb.Min.offset(offset_min);
         cb.Max.offset(offset_max);
     }
     this.parent_sector.main_form.update_status("");
 }