Cleanup: Soilent compile warning in curve_bevel.c.

This commit is contained in:
Jeroen Bakker
2021-06-08 07:45:53 +02:00
parent 1b07b7a068
commit 0efb627bbd

View File

@@ -56,7 +56,9 @@ static CurveBevelFillType curve_bevel_get_fill_type(const Curve *curve)
return (curve->flag & CU_FRONT) ? FRONT : BACK;
}
static void bevel_quarter_fill(Curve *curve, float *quarter_coords_x, float *quarter_coords_y)
static void bevel_quarter_fill(const Curve *curve,
float *quarter_coords_x,
float *quarter_coords_y)
{
if (curve->bevel_mode == CU_BEV_MODE_ROUND) {
float angle = 0.0f;