Skip to content

Commit bdad904

Browse files
committed
gui/entity: Improved initial camera orientation
Some models were facing away from the camera with the original configuration.
1 parent 9690431 commit bdad904

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eurochef/gui/src/entities.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ impl EntityListPanel {
309309

310310
er.draw(
311311
&self.gl,
312-
egui::vec2(1., -1.),
312+
egui::vec2(-2., -1.),
313313
Vec3::ZERO,
314314
0.30 * maximum_extent,
315315
paint_info,

eurochef/gui/src/entity_renderer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ impl EntityFrame {
3434
let mut s = Self {
3535
hashcode,
3636
renderer: Arc::new(Mutex::new(EntityRenderer::new(gl, textures))),
37-
orientation: egui::vec2(1., -1.),
37+
orientation: egui::vec2(-2., -1.),
3838
origin: Vec3::ZERO,
3939
zoom: 5.0,
4040
mesh_center: Vec3::ZERO,

0 commit comments

Comments
 (0)