Companion

object Companion

Properties

Link copied to clipboard

An identity Matrix33:

Functions

Link copied to clipboard

Creates a Matrix33 to rotate by |deg| about a pivot point at (0, 0).

fun makeRotate(deg: Float, pivot: Point): Matrix33

Creates a Matrix33 to rotate by |deg| about a pivot point at pivot.

fun makeRotate(deg: Float, pivotx: Float, pivoty: Float): Matrix33

Creates a Matrix33 to rotate by |deg| about a pivot point at (pivotx, pivoty).

Link copied to clipboard

Creates a Matrix33 to scale by s. Returned matrix is:

fun makeScale(sx: Float, sy: Float): Matrix33

Creates a Matrix33 to scale by (sx, sy). Returned matrix is:

Link copied to clipboard
fun makeSkew(sx: Float, sy: Float): Matrix33

Creates a Matrix33 to skew by (sx, sy). Returned matrix is:

Link copied to clipboard

Creates a Matrix33 to translate by (dx, dy). Returned matrix is: