Implemented bounding box raycasting.