Handbook
Glossary
p-matrix ( dim fov near far -- matrix )
Vocabulary
benchmark
.
3d-matrix-scalar
Inputs
dim
an
object
fov
an
object
near
an
object
far
an
object
Outputs
matrix
an
object
Definition
USING:
kernel
math.matrices.extras
math.order
math.vectors
sequences
;
IN:
benchmark.3d-matrix-scalar
::
p-matrix
( dim fov near far -- matrix )
dim
dup
first2
min
v/n
fov
v*n
near
v*n
near far
<frustum-matrix4>
;