Transforms an array of 3D positions by a 4x4 matrix.
The 4x4 transformation matrix.
The array of positions to transform. Each position is a set of 4 values (x, y, z, w).
An optional array to store the result. Defaults to p if not provided.
p
The transformed positions.
Transforms an array of 3D positions by a 4x4 matrix.