comparison tests/test_gltf.nim @ 1259:a13509ede62a

fix: use old model for test, for now
author sam <sam@basx.dev>
date Sun, 28 Jul 2024 21:18:33 +0700
parents 5442d0e9d8ff
children 4cf9872f7bb6
comparison
equal deleted inserted replaced
1258:5442d0e9d8ff 1259:a13509ede62a
89 normal: GPUArray[Vec3f, VertexBuffer] 89 normal: GPUArray[Vec3f, VertexBuffer]
90 indices: GPUArray[uint32, IndexBuffer] 90 indices: GPUArray[uint32, IndexBuffer]
91 material: int32 91 material: int32
92 92
93 var gltfData = LoadMeshes[Mesh, Material]( 93 var gltfData = LoadMeshes[Mesh, Material](
94 # "town.glb", 94 "town.glb",
95 "forest.glb", 95 # "forest.glb",
96 MeshAttributeNames( 96 MeshAttributeNames(
97 POSITION: "position", 97 POSITION: "position",
98 COLOR: @["color"], 98 COLOR: @["color"],
99 NORMAL: "normal", 99 NORMAL: "normal",
100 indices: "indices", 100 indices: "indices",