comparison examples/E01_hello_triangle.nim @ 271:95281f2db400

did: fix API changes broke examples
author Sam <sam@basx.dev>
date Tue, 30 May 2023 16:58:35 +0700
parents ad078e26a1c7
children b17df28712d6
comparison
equal deleted inserted replaced
270:563ca4a82931 271:95281f2db400
1 import semicongine 1 import ../src/semicongine
2 2
3 3
4 const 4 const
5 vertexInput = @[ 5 vertexInput = @[
6 attr[Vec3f]("position"), 6 attr[Vec3f]("position"),