Open iacore opened 10 months ago
Perhaps this is the current implementation for draw-circle-gradient
. It looks like there is an underlying Raylib function named DrawCircleGradient
.
Looking at this raylib cheatsheet, I see:
void DrawCircleGradient(int centerX, int centerY, float radius, Color color1, Color color2); // Draw a gradient-filled circle
It looks like DrawCircleGradient
wants the first 2 arguments to be of type int
and currently the way those are arranged for is to use janet_getinteger
.
true code:
Reproduction