Function transformMat4

  • transform Vec2 by 4x4 matrix

    Type Parameters

    Parameters

    • v: BaseArgType

      the vector

    • m: BaseArgType

      The matrix.

    • Optional dst: T

      optional Vec2 to store result. If not passed a new one is created.

    Returns T

    the transformed vector