models/py3Dv1/engine/utils/matrix.py
def from_vector(cls, vec: Vector3) -> Matrix:
        """Construct a new Matrix formed by a Vector3.
        Returns:
            Matrix - matrix with size 1, 4 populated by vec's x, y, z, w.
        """
        rv = cls(1, 4)
        rv.val = [[vec.x, vec.y, vec.z, vec.w]]
        return rv
Construct a new Matrix formed by a Vector3.
        Returns:
            Matrix - matrix with size 1, 4 populated by vec's x, y, z, w.
        
Construct a new Matrix formed by a Vector3.
Construct a new Matrix formed by a Vector3 .
def from_vector(cls, vec: Vector3) -> Matrix:
        rv = cls(1, 4)
        rv.val = [[vec.x, vec.y, vec.z, vec.w]]
        return rv
def from_vector ( cls , vec : Vector3 ) -> Matrix : rv = cls ( 1 , 4 ) rv . val = [ [ vec . x , vec . y , vec . z , vec . w ] ] return rv
Construct a new Matrix formed by a Vector3.
Construct a new Matrix formed by a Vector3 .
"""Construct a new Matrix formed by a Vector3.
        Returns:
            Matrix - matrix with size 1, 4 populated by vec's x, y, z, w.
        """
matrix with size 1, 4 populated by vec's x, y, z, w.
matrix with size 1 4 populated by vec ' s x y z w .
cls
vec
Vector3