collect-sources ( sources vertices inputs -- seq )


Vocabulary
game.models.collada.private

Inputs
sourcesa hashtable
verticesa pair
inputsa tag


Outputs
seqa sequence


Word description
Look up the sources for these input elements and return a sequence of source tuples.

Definition


:: collect-sources ( sources vertices inputs -- seq )
inputs [| input |
input "source" x@ rest vertices first = [
vertices second [| vertex |
vertex first input "offset" x@
string>number vertex second rest sources at
source boa
] map
] [
input
[ "semantic" x@ ] [ "offset" x@ string>number ]
[ "source" x@ rest sources at ] tri source boa
] if
] map flatten ;