Package: graphene
Function graphene:matrix-init-frustum
Lambda Listgraphene:matrix-init-frustum (matrix left right bottom top znear zfar) ArgumentsReturn ValueThe initialized graphene:matrix-t instance. Details
Initializes the matrix compatible with a frustum.
The matrix is initialized with the following components: ⎛ 2*n/(r-l) 0 0 0 ⎞ ⎜ 0 2*n/(t-b) 0 0 ⎟ ⎜ (r+l)/(r-l) (t+b)/(t-b) -(f+n)/(f-n) -1 ⎟ ⎝ 0 0 -2*f*n/(f-n) 0 ⎠ Notes | See also |
2024-12-30