Handbook
Glossary
generate-p-matrix ( world -- matrix )
Vocabulary
gpu
.
util
.
wasd
Inputs
world
an
object
Outputs
matrix
an
object
Definition
USING:
math.matrices.extras
math.vectors
;
IN:
gpu.util.wasd
::
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>
;