Changeset 237 for cpp/frams/model/geometry
 Timestamp:
 04/30/14 05:06:31 (10 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

cpp/frams/model/geometry/geometryutils.cpp
r234 r237 188 188 orthographicProjectionToPlane(points, axes.y); 189 189 190 Pt3D min (points.get(0)), max(points.get(0));190 Pt3D minimal(points.get(0)), maximal(points.get(0)); 191 191 192 192 for (int i = 1; i < points.size(); i++) 193 193 { 194 min .getMin(points.get(i));195 max .getMax(points.get(i));196 } 197 198 sizes.z = min .distanceTo(max);194 minimal.getMin(points.get(i)); 195 maximal.getMax(points.get(i)); 196 } 197 198 sizes.z = minimal.distanceTo(maximal); 199 199 axes.z.vectorProduct(axes.x, axes.y); 200 200 }
Note: See TracChangeset
for help on using the changeset viewer.