summaryrefslogtreecommitdiff
path: root/assets/models/cube.gltf
diff options
context:
space:
mode:
Diffstat (limited to 'assets/models/cube.gltf')
-rw-r--r--assets/models/cube.gltf37
1 files changed, 12 insertions, 25 deletions
diff --git a/assets/models/cube.gltf b/assets/models/cube.gltf
index 9bc8a22..e43dd04 100644
--- a/assets/models/cube.gltf
+++ b/assets/models/cube.gltf
@@ -37,12 +37,11 @@
"primitives":[
{
"attributes":{
- "COLOR_0":0,
- "POSITION":1,
- "NORMAL":2,
- "TEXCOORD_0":3
+ "POSITION":0,
+ "NORMAL":1,
+ "TEXCOORD_0":2
},
- "indices":4,
+ "indices":3,
"material":0
}
]
@@ -66,12 +65,6 @@
"bufferView":0,
"componentType":5126,
"count":24,
- "type":"VEC4"
- },
- {
- "bufferView":1,
- "componentType":5126,
- "count":24,
"max":[
1,
1,
@@ -85,19 +78,19 @@
"type":"VEC3"
},
{
- "bufferView":2,
+ "bufferView":1,
"componentType":5126,
"count":24,
"type":"VEC3"
},
{
- "bufferView":3,
+ "bufferView":2,
"componentType":5126,
"count":24,
"type":"VEC2"
},
{
- "bufferView":4,
+ "bufferView":3,
"componentType":5123,
"count":36,
"type":"SCALAR"
@@ -106,32 +99,26 @@
"bufferViews":[
{
"buffer":0,
- "byteLength":384,
- "byteOffset":0,
- "target":34962
- },
- {
- "buffer":0,
"byteLength":288,
- "byteOffset":384,
+ "byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":288,
- "byteOffset":672,
+ "byteOffset":288,
"target":34962
},
{
"buffer":0,
"byteLength":192,
- "byteOffset":960,
+ "byteOffset":576,
"target":34962
},
{
"buffer":0,
"byteLength":72,
- "byteOffset":1152,
+ "byteOffset":768,
"target":34963
}
],
@@ -143,7 +130,7 @@
],
"buffers":[
{
- "byteLength":1224,
+ "byteLength":840,
"uri":"cube.bin"
}
]