/// Interpolate between corners of the box.
Interpolate between corners of the box.
Interpolate between corners of the box .
pub fn lerp(&self, t_x: f64, t_y: f64, t_z: f64) -> Vec3 {
        let diag = self.max - self.min;
        Vec3 {
            x: self.min.x + diag.x * t_x,
            y: self.min.y + diag.y * t_y,
            z: self.min.z + diag.z * t_z
        }
    }
pub fn lerp ( & self , t_x : f64 , t_y : f64 , t_z : f64 ) -> Vec3 { let diag = self . max - self . min ; Vec3 { x : self . min . x + diag . x * t_x , y : self . min . y + diag . y * t_y , z : self . min . z + diag . z * t_z } }
Interpolate between corners of the box.
Interpolate between corners of the box .
&self
t_x
f64
t_y
f64
t_z
f64