X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FRectangle.hh;h=634491c020e4498d2edf6d3e1a74b3f4c0c8369e;hp=97bb44afe347c2d629bd2dd7826775292bd8de28;hb=25aefe01ef7dbdb603c51411e04b0d6a6107684f;hpb=df541170776dc4ac4f241ca480812bd70bcb6eca diff --git a/src/Moof/Rectangle.hh b/src/Moof/Rectangle.hh index 97bb44a..634491c 100644 --- a/src/Moof/Rectangle.hh +++ b/src/Moof/Rectangle.hh @@ -60,7 +60,7 @@ struct Rectangle init(a, b); } - inline void init(const Vector2& a, const Vector2& b) + void init(const Vector2& a, const Vector2& b) { if (a[0] < b[0]) { @@ -84,7 +84,7 @@ struct Rectangle } } - inline Vector2 getCenter() const + Vector2 getCenter() const { return Vector2((min[0] + max[0]) / 2.0, (min[1] + max[1]) / 2.0);