#include "Base.h" #ifdef _WIN32 #include #else #include #endif 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; } };