perspective

fun perspective(depth: <Error class: unknown class>, res: Matrix)

Applies a perspective of @depth to the matrix.

Since

1.0

Parameters

depth

the depth of the perspective

res

return location for the perspective matrix