Matrix.perspective

Applies a perspective of depth to the matrix.

class Matrix
void
perspective

Parameters

depth float

the depth of the perspective

res graphene.matrix.Matrix

return location for the perspective matrix