Explorar el Código

revert radius tweak (`DrawRectangleRoundedLines`)

pull/4666/head
Bigfoot71 hace 1 semana
padre
commit
4f39a84a3c
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. +1
    -2
      src/rshapes.c

+ 1
- 2
src/rshapes.c Ver fichero

@ -1141,8 +1141,7 @@ void DrawRectangleRoundedLinesEx(Rectangle rec, float roundness, int segments, f
}
float stepLength = 90.0f/(float)segments;
const float outerRadius = radius + lineThick - 0.5f;
const float innerRadius = radius - 0.5f;
const float outerRadius = radius + lineThick, innerRadius = radius;
/*
Quick sketch to make sense of all of this,

Cargando…
Cancelar
Guardar