project function

List<num> project(
  1. List<num> m,
  2. num width,
  3. num height
)

Multiplies by a 2D projection matrix m the matrix to be multiplied width width in pixels height height in pixels

Implementation

List<num> project(List<num> m, num width, num height) {
  return multiply(m, projection(width, height));
}