openrndr / org.openrndr.math.transforms / transform

transform

fun transform(baseTransform: Matrix44 = Matrix44.IDENTITY, builder: TransformBuilder.() -> Unit): Matrix44 (source)

Build a transform presented by a Matrix44

Parameters

baseTransform - the transform to start with, default is an identity matrix

builder - a function that is invoke inside the TransformBuilder context