Function mulV3

  • b = m * a

    Multiplies the 4x4 matrix m by the 3-element column vector a and stores the result in the 3-element vector b.

    This is a convenience function where m is assumed to be a 3D transformation matrix and a implicitly represents the homogeneous coordinates [ a.x, a.y, a.z, 1.0 ]

    Parameters

    • m: Mat4

      the 4x4 matrix multiplication operand

    • a: Vec3

      the 3-element vector multiplication operand

    • b: Vec3

      a 3-element vector in which to store the result

    Returns Vec3

    b as the result of m * a

Generated using TypeDoc