Fix 3-point middle point (#18383)
This commit is contained in:
parent
e52afa8b19
commit
3bfbd47c6d
|
@ -190,7 +190,7 @@ public:
|
||||||
#else
|
#else
|
||||||
points[0].set(min_x(), min_y());
|
points[0].set(min_x(), min_y());
|
||||||
points[1].set(max_x(), min_y());
|
points[1].set(max_x(), min_y());
|
||||||
points[2].set((max_x() - min_x()) / 2, max_y());
|
points[2].set((min_x() + max_x()) / 2, max_y());
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue