Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
rtp::ecs::components::BoundingBox Struct Reference

#include <BoundingBox.hpp>

Collaboration diagram for rtp::ecs::components::BoundingBox:

Public Attributes

float width {0.0f}
 Width of the rectangle.
 
float height {0.0f}
 Height of the rectangle.
 

Detailed Description

Definition at line 16 of file BoundingBox.hpp.

Member Data Documentation

◆ height

float rtp::ecs::components::BoundingBox::height {0.0f}

Height of the rectangle.

Definition at line 18 of file BoundingBox.hpp.

Referenced by rtp::server::CollisionSystem::overlaps().

◆ width

float rtp::ecs::components::BoundingBox::width {0.0f}

Width of the rectangle.

Definition at line 17 of file BoundingBox.hpp.

Referenced by rtp::server::CollisionSystem::overlaps(), and rtp::client::ShieldSystem::update().


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