Mercurial > games > semicongine
diff tests/test_vulkan_wrapper.nim @ 328:8d0ffcacc7e3
did: some cleanup
author | Sam <sam@basx.dev> |
---|---|
date | Fri, 25 Aug 2023 01:14:04 +0700 |
parents | a63bd8f29252 |
children | 69e18f69713b |
line wrap: on
line diff
--- a/tests/test_vulkan_wrapper.nim Fri Aug 25 01:09:23 2023 +0700 +++ b/tests/test_vulkan_wrapper.nim Fri Aug 25 01:14:04 2023 +0700 @@ -198,15 +198,14 @@ # INIT SCENES var scenes = [ - # Scene(name: "simple", meshes: scene_simple()), - # Scene(name: "different mesh types", meshes: scene_different_mesh_types()), - # Scene(name: "primitives", meshes: scene_primitives()), - # Scene(name: "flag", meshes: scene_flag()), - # Scene(name: "multimaterial", meshes: scene_multi_material(), materialIndexAttribute: ""), + Scene(name: "simple", meshes: scene_simple()), + Scene(name: "different mesh types", meshes: scene_different_mesh_types()), + Scene(name: "primitives", meshes: scene_primitives()), + Scene(name: "flag", meshes: scene_flag()), Scene(name: "multimaterial", meshes: scene_multi_material()), ] - scenes[0].addShaderGlobal("color", newVec4f(1, 0, 0, 1)) + scenes[4].addShaderGlobal("color", newVec4f(1, 0, 0, 1)) for scene in scenes.mitems: scene.addShaderGlobal("time", 0.0'f32) engine.addScene(scene)