diff OrthancStone/Sources/Volumes/OrientedVolumeBoundingBox.cpp @ 1610:b7630b1a0253

ISceneLayer::GetBoundingBox() returns void
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 29 Oct 2020 17:13:13 +0100
parents 8563ea5d8ae4
children 9ac2a65d4172
line wrap: on
line diff
--- a/OrthancStone/Sources/Volumes/OrientedVolumeBoundingBox.cpp	Thu Oct 29 17:01:29 2020 +0100
+++ b/OrthancStone/Sources/Volumes/OrientedVolumeBoundingBox.cpp	Thu Oct 29 17:13:13 2020 +0100
@@ -247,7 +247,7 @@
   bool OrientedVolumeBoundingBox::ComputeExtent(Extent2D& extent,
                                                 const CoordinateSystem3D& plane) const
   {
-    extent.Reset();
+    extent.Clear();
     
     std::vector<Vector> points;
     if (HasIntersection(points, plane))