Transform2D

A 2D transform;

Members

Functions

matrix
mat3 matrix()

Gets the matrix for this transform

update
void update()

Updates the internal matrix of this transform

Variables

rotation
float rotation;

Rotation

scale
vec2 scale;

Scale

translation
vec2 translation;

Translate

Meta