瀏覽代碼

revert radius tweak (`DrawRectangleRoundedLines`)

pull/4666/head
Bigfoot71 1 周之前
父節點
當前提交
4f39a84a3c
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. +1
    -2
      src/rshapes.c

+ 1
- 2
src/rshapes.c 查看文件

@ -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,

Loading…
取消
儲存