#include "Base.h" #include class RayCastHandler { public: bool isPlayerLookingAtAABB(irr::core::aabbox3d aabb) { irr::core::line3d ray; ray.start = pb.player -> getPosition(); ray.end = ray.start + (pb.camera -> getTarget() - ray.start).normalize() * 1000.0F; return true; } };