Fix typo in region::closest condition
This commit is contained in:
parent
d7f8246cf5
commit
6aa89a740d
@ -111,7 +111,7 @@ region<T>::closest (point<2> p) const {
|
|||||||
p.x,
|
p.x,
|
||||||
|
|
||||||
p.y < y ? y :
|
p.y < y ? y :
|
||||||
p.y < y + h ? y + h :
|
p.y > y + h ? y + h :
|
||||||
p.y
|
p.y
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user