mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Fixed bug calculating bounding box.
This commit is contained in:
parent
f8fcf2ae58
commit
000302a71b
1 changed files with 1 additions and 1 deletions
|
@ -528,7 +528,7 @@ void Piece::CompareBoundingBox(float box[6])
|
|||
if (Point[0] < box[0]) box[0] = Point[0];
|
||||
if (Point[1] < box[1]) box[1] = Point[1];
|
||||
if (Point[2] < box[2]) box[2] = Point[2];
|
||||
if (Point[0] > box[3]) box[3] = Point[i];
|
||||
if (Point[0] > box[3]) box[3] = Point[0];
|
||||
if (Point[1] > box[4]) box[4] = Point[1];
|
||||
if (Point[2] > box[5]) box[5] = Point[2];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue