@sstorsveen/maths - v2.0.1
    Preparing search index...

    Function mulV2

    • b = m * a

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

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

      Parameters

      • m: Mat3

        the 3x3 matrix multiplication operand

      • a: Vec2

        the 2-element vector multiplication operand

      • b: Vec2

        a 2-element vector in which to store the result

      Returns Vec2

      b as the result of m * a