We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd984e8 commit 909f4c6Copy full SHA for 909f4c6
1 file changed
crates/processing_render/src/graphics.rs
@@ -149,8 +149,8 @@ impl CameraProjection for ProcessingProjection {
149
}
150
151
fn update(&mut self, width: f32, height: f32) {
152
- self.width = width;
153
- self.height = height;
+ // in order to preserve our coordinate system where 1px in world space = 1px on the render
+ // target, we ignore bevy's update here
154
155
156
fn far(&self) -> f32 {
@@ -240,7 +240,6 @@ pub fn create(
240
near: 0.0,
241
far: 1000.0,
242
}),
243
- Msaa::Off,
244
Transform::from_xyz(0.0, 0.0, 999.9),
245
render_layer,
246
CommandBuffer::new(),
0 commit comments