fit to original aspect ratio

This commit is contained in:
2025-03-19 21:13:26 +01:00
parent 3f4ffeb489
commit e82e7e1ea6
2 changed files with 9 additions and 2 deletions

View File

@@ -53,7 +53,14 @@ fn main() {
cam_follow: true,
});
app.add_plugins(DefaultPlugins);
app.add_plugins(DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window {
title: "HEDZ reloaded".into(),
resolution: (1024., 768.).into(),
..default()
}),
..default()
}));
// app.add_plugins(bevy::pbr::wireframe::WireframePlugin)
// .insert_resource(bevy::pbr::wireframe::WireframeConfig {