File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change @@ -263,8 +263,7 @@ void rectangle_vao::render_rounder_corners(
263263namespace {
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
269268auto make_rounded_corners_texture_image (const ruis::sides<ruis::real>& radii)
270269{
You can’t perform that action at this time.
0 commit comments