perspective

fun perspective(depth: Float, 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