comparison examples/E03_hello_cube.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
8 # 8 #
9 9
10 10
11 import std/times 11 import std/times
12 12
13 import semicongine 13 import ../src/semicongine
14 14
15 const 15 const
16 TopLeftFront = newVec3f(-0.5'f32, -0.5'f32, -0.5'f32) 16 TopLeftFront = newVec3f(-0.5'f32, -0.5'f32, -0.5'f32)
17 TopRightFront = newVec3f(0.5'f32, -0.5'f32, -0.5'f32) 17 TopRightFront = newVec3f(0.5'f32, -0.5'f32, -0.5'f32)
18 BottomRightFront = newVec3f(0.5'f32, 0.5'f32, -0.5'f32) 18 BottomRightFront = newVec3f(0.5'f32, 0.5'f32, -0.5'f32)