Skip to contents

Applies a 2D transformation matrix to a set of vertices.

Usage

cpp_transform_vertices(vertices, transform)

Arguments

vertices

2 x N matrix of vertex coordinates

transform

3x3 transformation matrix (homogeneous coordinates)

Value

Transformed vertices (2 x N matrix)