transform

open override fun transform(t: Matrix44): Polygon(source)

Transforms the polygon using a given 4x4 transformation matrix.

Return

A new polygon instance resulting from applying the transformation.

Parameters

t

The 4x4 transformation matrix to apply to the polygon.