Handbook
Glossary
normals ( vs is -- ns )
Vocabulary
bunny
.
model
Inputs
vs
an
object
is
an
object
Outputs
ns
an
object
Definition
USING:
arrays
kernel
math.vectors
sequences
;
IN:
bunny.model
:
normals
( vs is -- ns )
[
[
length
{
0.0 0.0 0.0
}
<array>
]
keep
]
dip
[
[
2dup
]
dip
normal
]
each
drop
[
normalize
]
map
;