generate-p-matrix ( world -- matrix )


Vocabulary
gpu.util.wasd

Inputs
worldan object


Outputs
matrixan object


Definition


:: generate-p-matrix ( world -- matrix )
world wasd-near-plane :> near-plane world wasd-far-plane
:> far-plane world wasd-fov-vector near-plane v*n
near-plane far-plane <frustum-matrix4> ;