OpenTTD Source 20250905-master-g122023be8d
|
A coordinate with three dimensions. More...
#include <geometry_type.hpp>
Public Member Functions | |
constexpr | Coord3D (T x, T y, T z) |
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 43 of file geometry_type.hpp.
Definition at line 49 of file geometry_type.hpp.
T Coord3D< T >::x = 0 |
X coordinate.
Definition at line 44 of file geometry_type.hpp.
Referenced by AddSortableSpriteToDraw(), DrawBridgeMiddle(), DrawFoundation(), DrawGroundSpriteAt(), DrawHouseInGUI(), DrawRailCatenary(), DrawRailCatenaryOnBridge(), DrawRailCatenaryOnTunnel(), DrawRailCatenaryRailway(), DrawRoadDetail(), DrawSelectionSprite(), DrawTile_Town(), DrawTile_TunnelBridge(), DrawTileSelection(), DrawTrackFence(), ReadSpriteLayout(), StationChangeInfo(), Aircraft::UpdateDeltaXY(), RoadVehicle::UpdateDeltaXY(), Ship::UpdateDeltaXY(), Train::UpdateDeltaXY(), and ViewportAddLandscape().
T Coord3D< T >::y = 0 |
Y coordinate.
Definition at line 45 of file geometry_type.hpp.
Referenced by AddSortableSpriteToDraw(), DrawBridgeMiddle(), DrawGroundSpriteAt(), DrawHouseInGUI(), DrawRailCatenary(), DrawRailCatenaryOnBridge(), DrawRailCatenaryOnTunnel(), DrawRailCatenaryRailway(), DrawRoadDetail(), DrawSelectionSprite(), DrawTile_Town(), DrawTile_TunnelBridge(), DrawTileSelection(), DrawTrackFence(), ReadSpriteLayout(), StationChangeInfo(), Aircraft::UpdateDeltaXY(), RoadVehicle::UpdateDeltaXY(), Ship::UpdateDeltaXY(), Train::UpdateDeltaXY(), and ViewportAddLandscape().
T Coord3D< T >::z = 0 |
Z coordinate.
Definition at line 46 of file geometry_type.hpp.
Referenced by AddSortableSpriteToDraw(), DrawBridgePillars(), DrawFoundation(), DrawGroundSpriteAt(), DrawHouseInGUI(), DrawRoadDetail(), DrawSelectionSprite(), DrawTile_TunnelBridge(), DrawTrackFence(), DrawWaterLock(), DrawTileSeqStruct::IsParentSprite(), ReadSpriteLayout(), SplitGroundSpriteForOverlay(), SpriteLayoutProcessor::SpriteLayoutProcessor(), StationChangeInfo(), Aircraft::UpdateDeltaXY(), and ViewportAddLandscape().