comparison examples/input.nim @ 58:8287a91e5d56

did: refactor Matrix names
author Sam <sam@basx.dev>
date Fri, 20 Jan 2023 16:36:52 +0700
parents 547f3a374271
children d7d9420ba675
comparison
equal deleted inserted replaced
57:547f3a374271 58:8287a91e5d56
9 VertexDataA = object 9 VertexDataA = object
10 position: PositionAttribute[TVec2[float32]] 10 position: PositionAttribute[TVec2[float32]]
11 color: ColorAttribute[TVec3[float32]] 11 color: ColorAttribute[TVec3[float32]]
12 iscursor: GenericAttribute[int32] 12 iscursor: GenericAttribute[int32]
13 Uniforms = object 13 Uniforms = object
14 projection: Descriptor[Mat44[float32]] 14 projection: Descriptor[TMat44[float32]]
15 cursor: Descriptor[TVec2[float32]] 15 cursor: Descriptor[TVec2[float32]]
16 16
17 var 17 var
18 pipeline: RenderPipeline[VertexDataA, Uniforms] 18 pipeline: RenderPipeline[VertexDataA, Uniforms]
19 uniforms: Uniforms 19 uniforms: Uniforms