For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages
are available by appending .md to any URL.
Function scale
-
Parameters
- out: mat2
the receiving matrix
- a: ReadonlyMat2
the matrix to rotate
- v: ReadonlyVec2
the vec2 to scale the matrix by
Returns mat2
out
- out: mat2
Scales the mat2 by the dimensions in the given vec2