Mercurial > games > semicongine
changeset 1062:43e8d2236220
did: undo testing parameters, shit is now running as we hope, roughly, I think
author | sam <sam@basx.dev> |
---|---|
date | Mon, 01 Apr 2024 00:34:34 +0700 |
parents | 71a23166ccd6 |
children | e0e7cdea5e4c |
files | examples/E01_hello_triangle.nim |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/examples/E01_hello_triangle.nim Mon Apr 01 00:30:29 2024 +0700 +++ b/examples/E01_hello_triangle.nim Mon Apr 01 00:34:34 2024 +0700 @@ -26,11 +26,10 @@ ) myengine = initEngine("Hello triangle", showFps = true) -myengine.initRenderer({VERTEX_COLORED_MATERIAL: shaderConfiguration}, vSync = false, inFlightFrames = 1) +myengine.initRenderer({VERTEX_COLORED_MATERIAL: shaderConfiguration}) myengine.loadScene(scene) while myengine.updateInputs() == Running and not myengine.keyWasPressed(Escape): - echo "" transform[Vec3f](scene.meshes[0][], "position", scale(1.001, 1.001)) myengine.renderScene(scene)