public PandO clone() { PandO newClone = new PandO(); newClone.position = this.position.clone(); newClone.up = this.up.clone(); newClone.forward = this.forward.clone(); return newClone; }
public PandO clone() { PandO newClone = new PandO(); newClone.position = this.position.clone(); newClone.up = this.up.clone(); newClone.forward = this.forward.clone(); return(newClone); }
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(""); }