]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Rectangle.hh
refactoring the scene class
[chaz/yoink] / src / Moof / Rectangle.hh
index 97bb44afe347c2d629bd2dd7826775292bd8de28..634491c020e4498d2edf6d3e1a74b3f4c0c8369e 100644 (file)
@@ -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);
This page took 0.021697 seconds and 4 git commands to generate.