# HG changeset patch # User sam # Date 1711908320 -25200 # Node ID b3f782703aa5c44282b46cc88c9813058a49cd87 # Parent 9c364af8d3f0bb7f742e723d472fee905cce06af did: set correct parameters diff -r 9c364af8d3f0 -r b3f782703aa5 examples/E01_hello_triangle.nim --- a/examples/E01_hello_triangle.nim Sun Mar 31 22:11:50 2024 +0700 +++ b/examples/E01_hello_triangle.nim Mon Apr 01 01:05:20 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}, vSync = false, inFlightFrames = 2) 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)