]> git.tdb.fi Git - libs/math.git/commitdiff
Make CompositeShape::get_intersections work with null points
authorMikko Rasa <tdb@tdb.fi>
Wed, 22 May 2013 20:03:07 +0000 (23:03 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 22 May 2013 20:03:07 +0000 (23:03 +0300)
This was a bit tricky, since it's necessary to inspect the points returned
by component shapes to see if they're actually on the composite surface.
To that end, a temporary buffer is allocated.  This is most likely used in
interactive point-and-pick situations, so the performance loss should not
be significant.


No differences found