cute_framework icon indicating copy to clipboard operation
cute_framework copied to clipboard

Add const to draw functions taking in v2* arrays

Open RandyGaul opened this issue 6 months ago • 0 comments

Quite annoying to cast around in user code.

e.g.

CF_API void CF_CALL cf_draw_polyline(CF_V2* points, int count, float thickness, bool loop)

->

CF_API void CF_CALL cf_draw_polyline(const CF_V2* points, int count, float thickness, bool loop)

RandyGaul avatar Jun 11 '25 20:06 RandyGaul