/// upgrade to rect3 with z from other
upgrade to rect3 with z from other
upgrade to rect3 with z from other
pub fn with_z_from(self, other: &Rect3) -> Rect3 {
        Rect3 {
            pos: Pt3::new(self.pos.x, self.pos.y, other.pos.z),
            size: self.size,
        }
    }
pub fn with_z_from ( self , other : & Rect3 ) -> Rect3 { Rect3 { pos : Pt3 :: new ( self . pos . x , self . pos . y , other . pos . z ) , size : self . size , } }
upgrade to rect3 with z from other
upgrade to rect3 with z from other
self
other
&Rect3