Mercurial > games > semicongine
comparison examples/input.nim @ 519:03a94b905f1a
did: refactor Matrix names
author | Sam <sam@basx.dev> |
---|---|
date | Fri, 20 Jan 2023 16:36:52 +0700 |
parents | 5d406c17bbcb |
children | d7d9420ba675 |
comparison
equal
deleted
inserted
replaced
518:5d406c17bbcb | 519:03a94b905f1a |
---|---|
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 |