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},
|
||||
prelude::*,
|
||||
render::camera::Viewport,
|
||||
window::{PresentMode, WindowResolution},
|
||||
};
|
||||
|
||||
fn main() {
|
||||
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(Update, rotate_cameras)
|
||||
.run();
|
||||
|
Loading…
Reference in New Issue
Block a user