OpenTTD Source  20241108-master-g80f628063a
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: