axmol/tests/cpp-tests/Resources/Sprite3DTest/test.c3t

54 lines
1.0 KiB
Plaintext
Raw Normal View History

{
"version":"1.2",
"file_type":"c3t",
"reference_table":[
{
"xref":"__SCENE__",
"type":1
},
{
"xref":"body",
"type":34
}
],
"mesh_data":[
{
"version":"1.2",
"body":[
{
"vertices":[
0.0,50.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,
0.0,0.0,50.0,1.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,
50.0,0.0,0.0,1.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,
-50.0,0.0,0.0,1.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0
],
"vertex_size":52,
"indices":[0,1,2, 0,3,1, 0,2,3, 3,2,1],
"index_number":12,
"mesh_vertex_attribute":[
{
"size":3,
"type":"GL_FLOAT",
"vertex_attribute":"VERTEX_ATTRIB_POSITION"
},
{
"size":2,
"type":"GL_FLOAT",
"vertex_attribute":"VERTEX_ATTRIB_TEX_COORD"
},
{
"size":4,
"type":"GL_FLOAT",
"vertex_attribute":"VERTEX_ATTRIB_BLEND_INDEX"
},
{
"size":4,
"type":"GL_FLOAT",
"vertex_attribute":"VERTEX_ATTRIB_BLEND_WEIGHT"
}
]
}
]
}
]
}