pub fn scaling_matrix(&self) -> Matrix4x4 {
        Matrix4x4 {
            a1: self.x, a2: 0.0,    a3: 0.0,    a4: 0.0,
            b1: 0.0,    b2: self.y, b3: 0.0,    b4: 0.0,
            c1: 0.0,    c2: 0.0,    c3: self.z, c4: 0.0,
            d1: 0.0,    d2: 0.0,    d3: 0.0,    d4: 1.0,
        }
    }
/// Create a scaling matrix from this vector
Create a scaling matrix from this vector
Create a scaling matrix from this vector
pub fn scaling_matrix(&self) -> Matrix4x4 {
        Matrix4x4 {
            a1: self.x, a2: 0.0,    a3: 0.0,    a4: 0.0,
            b1: 0.0,    b2: self.y, b3: 0.0,    b4: 0.0,
            c1: 0.0,    c2: 0.0,    c3: self.z, c4: 0.0,
            d1: 0.0,    d2: 0.0,    d3: 0.0,    d4: 1.0,
        }
    }
pub fn scaling_matrix ( & self ) -> Matrix4x4 { Matrix4x4 { a1 : self . x , a2 : 0.0 , a3 : 0.0 , a4 : 0.0 , b1 : 0.0 , b2 : self . y , b3 : 0.0 , b4 : 0.0 , c1 : 0.0 , c2 : 0.0 , c3 : self . z , c4 : 0.0 , d1 : 0.0 , d2 : 0.0 , d3 : 0.0 , d4 : 1.0 , } }
Create a scaling matrix from this vector
Create a scaling matrix from this vector
&self
&self