OpenTTD Source  20240915-master-g3784a3d3d6
Dimension Struct Reference

Dimensions (a width and height) of a rectangle in 2D. More...

#include <geometry_type.hpp>

Public Member Functions

constexpr Dimension (uint w, uint h)
 
bool operator< (const Dimension &other) const
 
bool operator== (const Dimension &other) const
 

Data Fields

uint width
 
uint height
 

Detailed Description

Dimensions (a width and height) of a rectangle in 2D.

Definition at line 30 of file geometry_type.hpp.


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