Copy stress test settings for many_camera_lights (#19512)
# Objective - Fixes #17183 ## Solution - Copied the stress settings from the `many_animated_sprite` example that were mentioned in the ticket ## Testing - Run the example Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
This commit is contained in:
parent
030edbf3fe
commit
c549b9e9a4
@ -6,11 +6,19 @@ use bevy::{
|
|||||||
math::ops::{cos, sin},
|
math::ops::{cos, sin},
|
||||||
prelude::*,
|
prelude::*,
|
||||||
render::camera::Viewport,
|
render::camera::Viewport,
|
||||||
|
window::{PresentMode, WindowResolution},
|
||||||
};
|
};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
App::new()
|
App::new()
|
||||||
.add_plugins(DefaultPlugins)
|
.add_plugins(DefaultPlugins.set(WindowPlugin {
|
||||||
|
primary_window: Some(Window {
|
||||||
|
present_mode: PresentMode::AutoNoVsync,
|
||||||
|
resolution: WindowResolution::new(1920.0, 1080.0).with_scale_factor_override(1.0),
|
||||||
|
..default()
|
||||||
|
}),
|
||||||
|
..default()
|
||||||
|
}))
|
||||||
.add_systems(Startup, setup)
|
.add_systems(Startup, setup)
|
||||||
.add_systems(Update, rotate_cameras)
|
.add_systems(Update, rotate_cameras)
|
||||||
.run();
|
.run();
|
||||||
|
Loading…
Reference in New Issue
Block a user