Mercurial > games > semicongine
diff src/zamikongine/engine.nim @ 39:0cb294c5d2fd
fix: hello cube, add: run_all command
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 18 Jan 2023 13:49:12 +0700 |
parents | c3c963e7c1a6 |
children |
line wrap: on
line diff
--- a/src/zamikongine/engine.nim Wed Jan 18 09:52:03 2023 +0700 +++ b/src/zamikongine/engine.nim Wed Jan 18 13:49:12 2023 +0700 @@ -528,7 +528,7 @@ var ubermesh = createUberMesh(allmeshes) result.vertexBuffers.add createVertexBuffers(ubermesh, result.device, engine.vulkan.device.physicalDevice.device, engine.vulkan.commandPool, engine.vulkan.device.graphicsQueue) - when not IndexType is void: + when not (IndexType is void): # vertex buffers with indexes var allindexedmeshes: seq[IndexedMesh[VertexType, IndexType]] for mesh in partsOfType[ref IndexedMesh[VertexType, IndexType]](engine.currentscenedata):