]> git.tdb.fi Git - libs/math.git/commit
Make the check_intersection function non-virtual
authorMikko Rasa <tdb@tdb.fi>
Tue, 21 May 2013 18:41:15 +0000 (21:41 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 22 May 2013 12:31:46 +0000 (15:31 +0300)
commit313e10c1dcf5504789cc145166aece93d8141212
tree3d3355553c0cfcec8c00a077b64cfd66b7ad3ec2
parent827b227ae53884109b6885ccd1424dda8c0b3725
Make the check_intersection function non-virtual

Almost all shapes were implementing it with a call to get_intersections,
so might as well make the base class do that.  Performance loss is likely
negligible.
source/geometry/compositeshape.h
source/geometry/extrudedshape.h
source/geometry/hyperbox.h
source/geometry/hypersphere.h
source/geometry/negation.h
source/geometry/shape.h
source/geometry/transformedshape.h