Handbook
Glossary
triangles>model ( sources vertices triangles-tag -- model )
Vocabulary
game
.
models
.
collada
.
private
Inputs
sources
a
sequence
vertices
a
pair
triangles-tag
a
tag
Outputs
model
a
model
Word description
Creates a
model
tuple from the given triangles tag, source set and vertices pair.
Definition
USING:
alien.c-types
alien.data
game.models
kernel
math.parser
sequences.deep
xml.traversal
;
IN:
game.models.collada.private
:
triangles>model
( sources vertices triangles-tag -- model )
[
"input"
tags-named
collect-sources
]
1check
[
largest-offset+1
swap
[
"count"
x@
string>number
]
[
triangles>numbers
]
bi
group-indices
]
[
soa>aos
[
flatten
float
>c-array
]
[
flatten
uint
>c-array
]
bi*
collada-vertex-format
f
model
boa
]
bi
;