Open jonathanolson opened 11 years ago
Instead of transforming the shape and determining the bounding box, can we simply compute the bounding box given the transform?
May be useful for Scenery with Node's isInGlobalBounds( globalBounds, currentTransform ).
Implemented, but only efficiently for line segments for now. Leaving open for efficient implementation for all segment types.
Instead of transforming the shape and determining the bounding box, can we simply compute the bounding box given the transform?
May be useful for Scenery with Node's isInGlobalBounds( globalBounds, currentTransform ).