|
constixel
|
basic rectangle structure More...
#include <constixel.hpp>
Public Member Functions | |
| constexpr rect | operator& (const rect &other) const |
| intersects one rect with another | |
| constexpr rect & | operator&= (const rect &other) |
| intersects one rect with another | |
Public Attributes | |
| T | x = 0 |
| x coordinate | |
| T | y = 0 |
| y coordinate | |
| T | w = 0 |
| width | |
| T | h = 0 |
| height | |
basic rectangle structure
| T | coordinate number type |
|
inlineconstexpr |
intersects one rect with another
| other | the other rectangle |
|
inlineconstexpr |
intersects one rect with another
| other | the other rectangle |