Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
aegis2d::render::Rect Struct Reference

Axis-aligned rectangle. More...

#include <aegis2d/render/renderer.hpp>

Public Attributes

float x = 0.0F
 Left edge.
 
float y = 0.0F
 Top edge.
 
float width = 0.0F
 Width, positive.
 
float height = 0.0F
 Height, positive.
 

Detailed Description

Axis-aligned rectangle.

Member Data Documentation

◆ height

float aegis2d::render::Rect::height = 0.0F

Height, positive.

◆ width

float aegis2d::render::Rect::width = 0.0F

Width, positive.

◆ x

float aegis2d::render::Rect::x = 0.0F

Left edge.

◆ y

float aegis2d::render::Rect::y = 0.0F

Top edge.


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