Mercurial > games > semicongine
diff examples/E04_input.nim @ 607:64eb53f81cf6
add: improvments and E10 (pong)
author | Sam <sam@basx.dev> |
---|---|
date | Thu, 27 Apr 2023 00:23:23 +0700 |
parents | f41c1b78cf5b |
children | 3f13de7d8ec4 |
line wrap: on
line diff
--- a/examples/E04_input.nim Wed Apr 26 02:15:43 2023 +0700 +++ b/examples/E04_input.nim Thu Apr 27 00:23:23 2023 +0700 @@ -135,10 +135,6 @@ indices= @[[0'u16, 1'u16, 2'u16], [2'u16, 3'u16, 0'u16]], ) - backgroundmesh.setInstanceData("transform", @[Unit4f32]) - keyboardmesh.setInstanceData("transform", @[Unit4f32]) - cursormesh.setInstanceData("transform", @[Unit4f32]) - # define mesh objects scene = newEntity("scene") scene.add newEntity("background", backgroundmesh)