Mercurial > games > semicongine
comparison tests/test_gltf.nim @ 1261:6deb5ceaa3fb
merge
author | sam <sam@basx.dev> |
---|---|
date | Sun, 28 Jul 2024 21:39:45 +0700 |
parents | a13509ede62a |
children | 4cf9872f7bb6 |
comparison
equal
deleted
inserted
replaced
1260:08be5846b058 | 1261:6deb5ceaa3fb |
---|---|
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", |