Mercurial > games > semicongine
diff examples/E10_pong.nim @ 163:25d97fa0ad5c
fix: API change for shader attributes
author | Sam <sam@basx.dev> |
---|---|
date | Sat, 29 Apr 2023 18:29:19 +0700 |
parents | 134647ed5b60 |
children | 7a0ca5c01095 |
line wrap: on
line diff
--- a/examples/E10_pong.nim Sat Apr 29 17:41:40 2023 +0700 +++ b/examples/E10_pong.nim Sat Apr 29 18:29:19 2023 +0700 @@ -21,7 +21,7 @@ level = newEntity("Level") var playerbarmesh = rect(color=barcolor) var playerbar = newEntity("playerbar", playerbarmesh) - playerbar.transform = scale3d(barWidth, barSize, 1'f) * translate3d(0.5'f, 0'f, 0'f) + # playerbar.transform = scale3d(barWidth, barSize, 1'f) * translate3d(0.5'f, 0'f, 0'f) var player = newEntity("player", playerbar) player.transform = translate3d(0'f, 0.3'f, 0'f) level.add player