comparison examples/E03_hello_cube.nim @ 732:dcc12ab20a91

did: fix API changes broke examples
author Sam <sam@basx.dev>
date Tue, 30 May 2023 16:58:35 +0700
parents 5f7ec8d1bd33
children 5cd6808150fc
comparison
equal deleted inserted replaced
731:c12b11a5f112 732:dcc12ab20a91
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)