Mercurial > games > semicongine
comparison tests/test_mesh.nim @ 834:6001037da8c2
fix: make tests working again
author | Sam <sam@basx.dev> |
---|---|
date | Sat, 25 Nov 2023 22:59:06 +0700 |
parents | 388c4b35a6e3 |
children | 91e018270832 |
comparison
equal
deleted
inserted
replaced
833:34c44f32b621 | 834:6001037da8c2 |
---|---|
1 import std/algorithm | |
2 import std/sequtils | |
3 import std/tables | |
4 import semicongine | 1 import semicongine |
5 | 2 |
6 proc main() = | 3 proc main() = |
7 var scenes = [ | 4 var scenes = [ |
8 Scene(name: "Donut", meshes: loadMeshes("tutorialk-donat.glb", COLORED_SINGLE_TEXTURE_MATERIAL)[0].toSeq), | 5 Scene(name: "Donut", meshes: loadMeshes("donut.glb", COLORED_SINGLE_TEXTURE_MATERIAL)[0].toSeq), |
9 ] | 6 ] |
10 | 7 |
11 var engine = initEngine("Test meshes") | 8 var engine = initEngine("Test meshes") |
12 const | 9 const |
13 shaderConfiguration = createShaderConfiguration( | 10 shaderConfiguration = createShaderConfiguration( |