raylib icon indicating copy to clipboard operation
raylib copied to clipboard

[rshapes] `DrawCircleGradient()` doesn't have Vector2 variant

Open veins1 opened this issue 7 months ago • 2 comments

  • [ ✔] I tested it on latest raylib version from master branch

DrawCircleGradient doesn't have a Vector2 variant that accepts Vector2 as a circle center. Makes it not usable when using Camera and small world-space coordinates.

veins1 avatar Apr 08 '26 10:04 veins1

hi can i claim this issue I'll make a pr with the fixed version

0xjah avatar Apr 08 '26 23:04 0xjah

@veins1 I prefer avoid adding a new function, instead, I'm changing DrawCircleGradient() signature to use Vector2

raysan5 avatar Apr 09 '26 09:04 raysan5