]> git.tdb.fi Git - libs/math.git/blobdiff - source/geometry/boundingsphere.h
Add a forgotten & to a getter
[libs/math.git] / source / geometry / boundingsphere.h
index b27e3a1bea7813bc3454f919471f8a1b79c09ca3..66c14d5c904776f68c7344e76e534e1638e4f933 100644 (file)
@@ -22,7 +22,7 @@ public:
        template<typename Iter>
        static BoundingSphere from_point_cloud(const Iter &, const Iter &);
 
-       const LinAl::Vector<T, N> get_center() const { return center; }
+       const LinAl::Vector<T, N> &get_center() const { return center; }
        T get_radius() const { return radius; }
        bool is_empty() const { return empty; }
 };