mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Removed another bunch of compile warnings
This commit is contained in:
parent
6bbc97f24d
commit
308f601a99
5 changed files with 18 additions and 18 deletions
|
@ -446,7 +446,7 @@ void BedShapePanel::update_shape()
|
|||
auto twopi = 2 * PI;
|
||||
auto edges = 72;
|
||||
std::vector<Vec2d> points;
|
||||
for (size_t i = 1; i <= edges; ++i) {
|
||||
for (int i = 1; i <= edges; ++i) {
|
||||
auto angle = i * twopi / edges;
|
||||
points.push_back(Vec2d(r*cos(angle), r*sin(angle)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue