supertux
Public Attributes | List of all members
CollisionSystem::RaycastResult Struct Reference
Collaboration diagram for CollisionSystem::RaycastResult:
Collaboration graph
[legend]

Public Attributes

bool is_valid
 true if raycast hit something
 
std::variant< const Tile *, CollisionObject * > hit
 tile/object that the raycast hit
 
Rectf box = {}
 hitbox of tile/object
 

The documentation for this struct was generated from the following file: