mirror of https://github.com/mosra/magnum.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
1.1 KiB
76 lines
1.1 KiB
|
4 years ago
|
{
|
||
|
|
"asset": {
|
||
|
|
"version": "2.0"
|
||
|
|
},
|
||
|
|
"buffers": [
|
||
|
|
{
|
||
|
|
"uri": "two-triangles-transformed.bin",
|
||
|
|
"byteLength": 72
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"bufferViews": [
|
||
|
|
{
|
||
|
|
"buffer": 0,
|
||
|
|
"byteLength": 36
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"buffer": 0,
|
||
|
|
"byteOffset": 36,
|
||
|
|
"byteLength": 36
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"accessors": [
|
||
|
|
{
|
||
|
|
"bufferView": 0,
|
||
|
|
"componentType": 5126,
|
||
|
|
"count": 3,
|
||
|
|
"type": "VEC3"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"bufferView": 1,
|
||
|
|
"componentType": 5126,
|
||
|
|
"count": 3,
|
||
|
|
"type": "VEC3"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"meshes": [
|
||
|
|
{
|
||
|
|
"primitives": [
|
||
|
|
{
|
||
|
|
"attributes": {
|
||
|
|
"POSITION": 0
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"primitives": [
|
||
|
|
{
|
||
|
|
"attributes": {
|
||
|
|
"POSITION": 1
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"nodes": [
|
||
|
|
{
|
||
|
|
"mesh": 0
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "Explicit intermediate node to test proper traversal",
|
||
|
|
"translation": [0, -5, 0],
|
||
|
|
"children": [2]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"mesh": 1,
|
||
|
|
"translation": [0, -5, 0]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"scenes": [
|
||
|
|
{
|
||
|
|
"nodes": [0, 1]
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|