mirror of https://github.com/mosra/magnum.git
6 changed files with 101 additions and 5 deletions
@ -0,0 +1,75 @@ |
|||||||
|
{ |
||||||
|
"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] |
||||||
|
} |
||||||
|
] |
||||||
|
} |
||||||
Loading…
Reference in new issue