Fix 3-point middle point (#18383)

This commit is contained in:
MoellerDi 2020-06-22 22:37:14 +02:00 committed by GitHub
parent e52afa8b19
commit 3bfbd47c6d
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -190,7 +190,7 @@ public:
#else
points[0].set(min_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
}