My Project
CRect.hpp
1 /*
2 ** EPITECH PROJECT, 2022
3 ** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4 ** File description:
5 ** CRect
6 */
7 
8 #ifndef CRECT_HPP_
9  #define CRECT_HPP_
10 
14 namespace component {
18  struct crect_t {
19  float height;
20  float width;
21  };
22 }
23 
24 #endif /* !CRECT_HPP_ */
component::crect_t::width
float width
width of the rect of the entity
Definition: CRect.hpp:20
component::crect_t::height
float height
height of the rect of the entity
Definition: CRect.hpp:19
component
Namespace for all components.
Definition: CDamage.hpp:14
component::crect_t
A structure representing the rectangle component that holds the rectangle of an entity.
Definition: CRect.hpp:18