|
OpenTTD Source 20260711-master-g3fb3006dff
|
A coordinate with three dimensions. More...
#include <geometry_type.hpp>
Public Member Functions | |
| constexpr | Coord3D (T x, T y, T z) |
| constexpr auto | operator<=> (const Coord3D< T > &) const =default |
| Compare with another instance of this class. | |
Data Fields | |
| T | x = 0 |
| X coordinate. | |
| T | y = 0 |
| Y coordinate. | |
| T | z = 0 |
| Z coordinate. | |
A coordinate with three dimensions.
Definition at line 86 of file geometry_type.hpp.
Definition at line 92 of file geometry_type.hpp.
Compare with another instance of this class.
X coordinate.
Definition at line 87 of file geometry_type.hpp.
Referenced by AddSortableSpriteToDraw(), DrawBridgeMiddle(), DrawClearLandFence(), DrawFoundation(), DrawHouseInGUI(), DrawRailCatenary(), DrawRailCatenaryOnBridge(), DrawRailCatenaryOnTunnel(), DrawRailCatenaryRailway(), DrawRoadDetail(), DrawRoughLandTile(), DrawSelectionSprite(), DrawTile_Clear(), DrawTile_Town(), DrawTile_Trees(), DrawTile_TunnelBridge(), DrawTileSelection(), DrawTrackFence(), ReadSpriteLayout(), and StationChangeInfo().
Y coordinate.
Definition at line 88 of file geometry_type.hpp.
Referenced by AddSortableSpriteToDraw(), DrawBridgeMiddle(), DrawClearLandFence(), DrawFoundation(), DrawHouseInGUI(), DrawRailCatenary(), DrawRailCatenaryOnBridge(), DrawRailCatenaryOnTunnel(), DrawRailCatenaryRailway(), DrawRoadDetail(), DrawRoughLandTile(), DrawSelectionSprite(), DrawTile_Clear(), DrawTile_Town(), DrawTile_Trees(), DrawTile_TunnelBridge(), DrawTileSelection(), DrawTrackFence(), ReadSpriteLayout(), and StationChangeInfo().
Z coordinate.
Definition at line 89 of file geometry_type.hpp.
Referenced by AddSortableSpriteToDraw(), DrawBridgePillars(), DrawClearLandFence(), DrawFoundation(), DrawHouseInGUI(), DrawRoadDetail(), DrawSelectionSprite(), DrawTile_Trees(), DrawTile_TunnelBridge(), DrawTrackFence(), DrawWaterLock(), ReadSpriteLayout(), SplitGroundSpriteForOverlay(), and StationChangeInfo().