Handbook
Glossary
forward-vector ( world -- v )
Vocabulary
gpu
.
util
.
wasd
Inputs
world
an
object
Outputs
v
an
object
Definition
USING:
accessors
kernel
math.vectors
;
IN:
gpu.util.wasd
:
forward-vector
( world -- v )
[
yaw>>
]
[
?pitch
]
[
wasd-movement-speed
]
tri
{
0.0 0.0 -1.0
}
n*v
eye-rotate
;