mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Removed another bunch of compile warnings
This commit is contained in:
@@ -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)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user