X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgeometry%2Fboundingsphere.h;h=66c14d5c904776f68c7344e76e534e1638e4f933;hb=291c11cf66e7083dc21fffea1afbdeaaad96077d;hp=b27e3a1bea7813bc3454f919471f8a1b79c09ca3;hpb=e56a892c3f505a1969b207654bcca4bb6158e01b;p=libs%2Fmath.git diff --git a/source/geometry/boundingsphere.h b/source/geometry/boundingsphere.h index b27e3a1..66c14d5 100644 --- a/source/geometry/boundingsphere.h +++ b/source/geometry/boundingsphere.h @@ -22,7 +22,7 @@ public: template static BoundingSphere from_point_cloud(const Iter &, const Iter &); - const LinAl::Vector get_center() const { return center; } + const LinAl::Vector &get_center() const { return center; } T get_radius() const { return radius; } bool is_empty() const { return empty; } };