Skip to content

Commit

Permalink
updated RSGL header
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Jan 3, 2024
1 parent 9d4b5b2 commit 67944d7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion RSGL.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ RGFW_FUNCTION_DEFINES
#define RSGL_isMinimized RGFW_isMinimized
#define RSGL_isMaximized RGFW_isMaximized

RSGLDEF void RSGL_legacy(i32 legacy);

/*
*******
RSGL_window
Expand Down Expand Up @@ -760,6 +762,11 @@ void RSGL_BASIC_DRAW(u32 RGL_TYPE, RSGL_point3DF* points, RSGL_point3DF* texPoin
if (RSGL_argsClear) RSGL_clearArgs();
}

void RSGL_legacy(i32 legacy) {
rglLegacy(legacy);
RFont_render_legacy(legacy);
}

/*
RSGL_window
*/
Expand Down Expand Up @@ -1243,7 +1250,6 @@ void RSGL_drawCircleFOutline(RSGL_circleF c, u32 thickness, RSGL_color color) {
float verts = ((2 * M_PI * c.d) / 10);
verts = (verts > 360 ? 360 : verts);

printf("%i\n", verts);
rglLineWidth(thickness);
RSGL_drawPolygonFOutlinePro((RSGL_rectF){c.x, c.y, c.d, c.d}, verts, (RSGL_pointF){0, verts}, color);
}
Expand Down

0 comments on commit 67944d7

Please sign in to comment.