From: Mikko Rasa Date: Thu, 23 May 2013 19:26:28 +0000 (+0300) Subject: Take care not to count initialization values when finding min/max X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=de53838941cc8ccf00aeffa77c28d915317879bd;p=libs%2Fmath.git Take care not to count initialization values when finding min/max --- diff --git a/source/geometry/transformedshape.h b/source/geometry/transformedshape.h index 84e182c..f214e4b 100644 --- a/source/geometry/transformedshape.h +++ b/source/geometry/transformedshape.h @@ -88,10 +88,18 @@ inline BoundingBox TransformedShape::get_axis_aligned_bounding_box() point = transformation.transform(point); - for(unsigned j=0; j