Handbook
Glossary
map-quadrant ( node quot: ( child-node -- x ) -- array )
Quadtrees
Prev:
each-quadrant ( node quot -- )
Next:
swizzle ( sequence quot -- sequence' )
Vocabulary
quadtrees
Inputs
node
a
quadtree
quot
a
quotation
Outputs
array
an
array
Word description
Calls
quot
with each subnode of
node
on the top of the stack in turn, collecting the four results into
array
.
Definition
USING:
arrays
;
IN:
quadtrees
:
map-quadrant
( node quot: ( child-node -- x ) -- array )
each-quadrant
4array
;
inline