map-quadrant ( node quot: ( child-node -- x ) -- array )
Quadtrees

Prev:each-quadrant ( node quot -- )
Next:swizzle ( sequence quot -- sequence' )


Vocabulary
quadtrees

Inputs
nodea quadtree
quota quotation


Outputs
arrayan 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


: map-quadrant ( node quot: ( child-node -- x ) -- array )
each-quadrant 4array ; inline