Mercurial > games > semicongine
diff examples/E10_pong.nim @ 85:8bfcaed87cd6
did: a few fixes for new API
author | Sam <sam@basx.dev> |
---|---|
date | Sat, 25 Feb 2023 00:44:05 +0700 |
parents | 4b16d2af316a |
children | a4e6e76128e6 |
line wrap: on
line diff
--- a/examples/E10_pong.nim Fri Feb 24 01:32:45 2023 +0700 +++ b/examples/E10_pong.nim Sat Feb 25 00:44:05 2023 +0700 @@ -18,6 +18,8 @@ backgroundColor = RGBAfromHex("FAC034").gamma(2.2) ballSpeed = 60'f +echo RGBAfromHex("FAC034") +echo RGBAfromHex("FAC034").gamma(2.2) var uniforms = Uniforms() pipeline: RenderPipeline[Vertex, Uniforms]