Package: graphene

Function graphene:matrix-perspective

Lambda List

graphene:matrix-perspective (matrix depth result)

Arguments

matrix -- a graphene:matrix-t instance
depth -- a number for the depth of the perspective

Return Value

The graphene:matrix-t instance with the perpective matrix.

Details

Applies a perspective of depth to the matrix.

Notes

The depth argument ist coerced to a single float before being passed to the foreign C function.
 

See also

#2024-12-30