enhancementgood first issue
描述
It worth finalizing consistency withing those three classes, so here is list of things to do:
BoundingBox
- Deprecate
intersectsand add another methodintersectsBoundingBoxwhich will have same functionality - Add
intersectsOrientedBoxmethod - Add
centerandhalfExtentsproperty reference
BoundingSphere
- Add
intersectsBoundingBoxmethod (calls box.intersectsBoundingSphere internally) - Add
intersectsOrientedBoxmethod - Add
centerandradiusproperty reference
OrientedBox
- Add
intersectsBoundingBoxmethod (calls box.intersectsOrientedBox internally) - Add
intersectsOrientedBoxmethod - Add
halfExtentsproperty reference - Property
worldTransformhas wrong reference