mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 17:20:53 +01:00
[Kandinsky] Inline very simple operations on KDPoint and KDSize
Change-Id: I35f6bc9450b35b1ab7a0dcadce69dddf932dd23f
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
#include <kandinsky/point.h>
|
||||
|
||||
KDCoordinate KDPoint::x() const { return m_x; }
|
||||
KDCoordinate KDPoint::y() const { return m_y; }
|
||||
|
||||
KDPoint KDPoint::translatedBy(KDPoint other) const {
|
||||
return KDPoint(m_x+other.x(), m_y+other.y());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user