comparison tests/test_mesh.nim @ 344:b83b3a1ccb05

fix: all tests
author Sam <sam@basx.dev>
date Mon, 11 Sep 2023 21:31:22 +0700
parents 27aaf43e18b4
children 61c5d5fe9d93
comparison
equal deleted inserted replaced
343:c9b34b41a5a2 344:b83b3a1ccb05
49 engine.initRenderer({ 49 engine.initRenderer({
50 "Material": shaderConfiguration, 50 "Material": shaderConfiguration,
51 "Material.001": shaderConfiguration, 51 "Material.001": shaderConfiguration,
52 "Material.002": shaderConfiguration, 52 "Material.002": shaderConfiguration,
53 "Material.004": shaderConfiguration, 53 "Material.004": shaderConfiguration,
54 }.toTable) 54 })
55 55
56 for scene in scenes.mitems: 56 for scene in scenes.mitems:
57 scene.addShaderGlobal("projection", Unit4F32) 57 scene.addShaderGlobal("projection", Unit4F32)
58 scene.addShaderGlobal("view", Unit4F32) 58 scene.addShaderGlobal("view", Unit4F32)
59 var materials: Table[uint16, Material] 59 var materials: Table[uint16, Material]