Handbook
Glossary
bunny-data ( filename -- vertexes indexes )
Vocabulary
gpu
.
demos
.
bunny
Inputs
filename
an
object
Outputs
vertexes
an
object
indexes
an
object
Definition
USING:
io.encodings.ascii
io.files
kernel
;
IN:
gpu.demos.bunny
:
bunny-data
( filename -- vertexes indexes )
ascii
[
parse-bunny-model
]
with-file-reader
[
calc-bunny-normals
]
[
drop
normalize-bunny-normals
]
[
]
2tri
;