diff examples/E04_input.nim @ 146:253dd797e719

add: improvments and E10 (pong)
author Sam <sam@basx.dev>
date Thu, 27 Apr 2023 00:23:23 +0700
parents a4e6e76128e6
children 25d97fa0ad5c
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)