made intersection/collision code const - nobody is able to accidentally modify internal states on intersection queries