Skip to content

@modoki/engine / index / mul2D

Function: mul2D()

mul2D(m1, m2): Mat2D

Matrix product m1 · m2 — the result applies m2 to a point FIRST, then m1 (so mul(parent, child) yields the child's parent-relative matrix).

Parameters

m1

Mat2D

m2

Mat2D

Returns

Mat2D

Built with Modoki.