Handbook
Glossary
soa>aos ( triangles-indices sources -- attribute-buffer index-buffer )
Vocabulary
game
.
models
.
collada
.
private
Inputs
triangles-indices
a
sequence
sources
a
sequence
Outputs
attribute-buffer
a
sequence
index-buffer
a
sequence
Word description
Swizzles the input sources from a structure of arrays form to an array of structures form and generates a new index buffer.
Definition
USING:
accessors
game.models.util
kernel
make
sequences
;
IN:
game.models.collada.private
::
soa>aos
( triangles-indices sources -- attribute-buffer index-buffer )
[
triangles-indices
[
[
sources
pack-attributes
,
]
each
]
each
]
V{
}
V{
}
H{
}
<indexed-seq>
make
[
dseq>>
]
[
iseq>>
]
bi
;