OpenTTD Source: Dimension Struct Reference

OpenTTD Source 14.0-beta1

Public Member Functions | Data Fields
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:

- src/core/geometry_type.hpp