mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 17:50:04 +01:00
[expression_editor/poincare] Move Up in an ExpressionLayout.
Change-Id: I75fd91233729afd4eb77d8e9d53c102a632643ea
This commit is contained in:
@@ -7,3 +7,7 @@ KDPoint KDPoint::translatedBy(KDPoint other) const {
|
||||
KDPoint KDPoint::opposite() const {
|
||||
return KDPoint(-m_x, -m_y);
|
||||
}
|
||||
|
||||
uint16_t KDPoint::squareDistanceTo(KDPoint other) const {
|
||||
return (m_x-other.x()) * (m_x-other.x()) + (m_y-other.y()) * (m_y-other.y());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user