mirror of
https://codeberg.org/schrottkatze/mgd2-tram-championships.git
synced 2025-06-12 02:47:38 +00:00
10 lines
441 B
Rust
10 lines
441 B
Rust
//! The general app camera module, not to be confused with the `game::camera`¹ module.
|
|
//!
|
|
//! 1: I can't link to out of scope private items, so you'll have to navigate there yourself.
|
|
use bevy::prelude::*;
|
|
|
|
/// Sets up the camera for the entire app, with a starting position for the game. (TODO: probably change that)
|
|
/// This camera is also used for menu rendering etc.
|
|
pub fn setup(mut c: Commands) {
|
|
c.spawn(Camera3d::default());
|
|
}
|