Skip to content

Commit 0538952

Browse files
committed
fix lint, vcpkg: update baseline
1 parent 90d4504 commit 0538952

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

build/vcpkg/test/vcpkg-configuration.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{
99
"kind": "git",
1010
"repository": "https://github.com/cppfw/vcpkg-repo/",
11-
"baseline": "4f59c48b49e4e2be208ce06d3ea462fa2e0d1bcb",
11+
"baseline": "ce5410475b56e531aac195d77719646c600e6bfa",
1212
"reference": "main",
1313
"packages": [
1414
"myci",

src/ruis/paint/rectangle_vao.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,7 @@ void rectangle_vao::render_rounder_corners(
263263
namespace {
264264
// approximate 90 degree arc with bezier curve which matches the arc at 45 degree point
265265
// and has the same tangent as an arc at 45 degree point
266-
using std::sqrt;
267-
const auto arc_bezier_param = ruis::real(4 * (sqrt(2) - 1) / 3);
266+
const auto arc_bezier_param = ruis::real(4 * (std::numbers::sqrt2 - 1) / 3);
268267

269268
auto make_rounded_corners_texture_image(const ruis::sides<ruis::real>& radii)
270269
{

0 commit comments

Comments
 (0)