Handbook
Glossary
<bunny-uniforms> ( world -- uniforms )
Vocabulary
gpu
.
demos
.
bunny
Inputs
world
an
object
Outputs
uniforms
an
object
Definition
USING:
gpu.util.wasd
kernel
;
IN:
gpu.demos.bunny
:
<bunny-uniforms>
( world -- uniforms )
[
wasd-mv-matrix
]
[
wasd-p-matrix
]
bi
{
-10000.0 10000.0 10000.0
}
{
0.6 0.5 0.5 1.0
}
{
0.2 0.2 0.2 0.2
}
{
0.8 0.8 0.8 0.8
}
100.0
bunny-uniforms
boa
;