Module openrailwaymap_exporter::app3d
source · Expand description
The app3d module provides functionality to visualize railway graphs in 3D.
It includes functions to initialize a Bevy application with a given RailwayGraph or a default one,
and provides systems for displaying the graph, interacting with the user interface, and updating the camera.
Structs
- Holds application state, including the area name, railway graph, and camera look-at position.
- Stores configuration of current debug
- Stores the current interaction mode.
- The
Projectionresource is responsible for converting geographical coordinates (latitude and longitude) to view coordinates, taking into account the view dimensions and the bounding box of a givenRailwayGraph.
Enums
- Defines the different interaction modes for the application.
Functions
- Initializes the Bevy application with a default
RailwayGraph. - Initializes the Bevy application with a given
RailwayGraph. - Configures a Bevy application with the necessary plugins, resources, and systems.