49 lines
556 B
Plaintext
49 lines
556 B
Plaintext
|
function data()
|
||
|
return {
|
||
|
animations = {
|
||
|
|
||
|
},
|
||
|
matConfigs = {
|
||
|
{
|
||
|
0,
|
||
|
},
|
||
|
},
|
||
|
subMeshes = {
|
||
|
{
|
||
|
indices = {
|
||
|
normal = {
|
||
|
count = 4,
|
||
|
offset = 140,
|
||
|
|
||
|
},
|
||
|
positionIdx = {
|
||
|
count = 4,
|
||
|
offset = 188,
|
||
|
|
||
|
},
|
||
|
|
||
|
},
|
||
|
materials = {
|
||
|
"tree/orangetree_1_rt_1_10.mtl",
|
||
|
},
|
||
|
|
||
|
},
|
||
|
},
|
||
|
vertexAttr = {
|
||
|
normal = {
|
||
|
count = 12,
|
||
|
numComp = 3,
|
||
|
offset = 0,
|
||
|
|
||
|
},
|
||
|
positionIdx = {
|
||
|
count = 16,
|
||
|
numComp = 4,
|
||
|
offset = 12,
|
||
|
|
||
|
},
|
||
|
|
||
|
},
|
||
|
|
||
|
}
|
||
|
end
|