comparison examples/hello_cube.nim @ 56:94d7eed3f118

did: cleanup main namespace, add: better coordinate handling in input example
author Sam <sam@basx.dev>
date Fri, 20 Jan 2023 00:41:55 +0700
parents 2771db8d4276
children 547f3a374271
comparison
equal deleted inserted replaced
55:be3ab2619c33 56:94d7eed3f118
10 # 10 #
11 import std/times 11 import std/times
12 import std/strutils 12 import std/strutils
13 import std/enumerate 13 import std/enumerate
14 14
15 import semicongine/engine 15 import semicongine
16 import semicongine/math/vector
17 import semicongine/math/matrix
18 import semicongine/vertex
19 import semicongine/descriptor
20 import semicongine/mesh
21 import semicongine/thing
22 import semicongine/shader
23 import semicongine/buffer
24 16
25 type 17 type
26 # define type of vertex 18 # define type of vertex
27 VertexDataA = object 19 VertexDataA = object
28 position: PositionAttribute[Vec3[float32]] 20 position: PositionAttribute[Vec3[float32]]