janet-lang / jaylib

Janet bindings to Raylib
MIT License
137 stars 36 forks source link

Fix a bug in the example program #30

Closed dressupgeekout closed 2 years ago

dressupgeekout commented 2 years ago

draw-circle-gradient's 'x' and 'y' arguments must be integers, but get-mouse-position returns two floats.

Maybe it used to work with previous versions of Raylib, but I don't think it's the case with 3.7.0.

Edit: Oh, heh, I'm sure it's related to this: https://github.com/janet-lang/jaylib/pull/24