models/py3Dv1/engine/utils/matrix.py
def scaling(cls, scale: float) -> Matrix:
        """Construct a scaling matrix for the given scale factor.
        Arguments:
            scale - float, the scale value for Matrix to be constructed for
        Returns:
            Matrix - the scaling Matrix
        """
        matrix = cls()
        matrix.val = [
            [scale, 0.0, 0.0, 0.0],
            [0.0, scale, 0.0, 0.0],
            [0.0, 0.0, scale, 0.0],
            [0.0, 0.0, 0.0, 1],
        ]
        return matrix
Construct a scaling matrix for the given scale factor.
        Arguments:
            scale - float, the scale value for Matrix to be constructed for
        Returns:
            Matrix - the scaling Matrix
        
Construct a scaling matrix for the given scale factor.
Arguments:
scale - float, the scale value for Matrix to be constructed for
Returns:
Matrix - the scaling Matrix
Construct a scaling matrix for the given scale factor . Arguments : scale - float the scale value for Matrix to be constructed for Returns : Matrix - the scaling Matrix
def scaling(cls, scale: float) -> Matrix:
        matrix = cls()
        matrix.val = [
            [scale, 0.0, 0.0, 0.0],
            [0.0, scale, 0.0, 0.0],
            [0.0, 0.0, scale, 0.0],
            [0.0, 0.0, 0.0, 1],
        ]
        return matrix
def scaling ( cls , scale : float ) -> Matrix : matrix = cls ( ) matrix . val = [ [ scale , 0.0 , 0.0 , 0.0 ] , [ 0.0 , scale , 0.0 , 0.0 ] , [ 0.0 , 0.0 , scale , 0.0 ] , [ 0.0 , 0.0 , 0.0 , 1 ] , ] return matrix
Construct a scaling matrix for the given scale factor.
Construct a scaling matrix for the given scale factor .
"""Construct a scaling matrix for the given scale factor.
        Arguments:
            scale - float, the scale value for Matrix to be constructed for
        Returns:
            Matrix - the scaling Matrix
        """
cls
scale
float