mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-27 01:25:52 +00:00
Rename variable
This commit is contained in:
parent
e5cd42a4ad
commit
baf7dde08e
@ -142,14 +142,14 @@ fn main() -> anyhow::Result<()> {
|
|||||||
let now = Instant::now();
|
let now = Instant::now();
|
||||||
|
|
||||||
if let Some(shape) = watcher.receive() {
|
if let Some(shape) = watcher.receive() {
|
||||||
let shape = shape_processor.process(&shape);
|
let new_shape = shape_processor.process(&shape);
|
||||||
shape.update_geometry(&mut renderer);
|
new_shape.update_geometry(&mut renderer);
|
||||||
|
|
||||||
if camera.is_none() {
|
if camera.is_none() {
|
||||||
camera = Some(Camera::new(&shape.aabb));
|
camera = Some(Camera::new(&new_shape.aabb));
|
||||||
}
|
}
|
||||||
|
|
||||||
processed_shape = Some(shape);
|
processed_shape = Some(new_shape);
|
||||||
}
|
}
|
||||||
|
|
||||||
match event {
|
match event {
|
||||||
|
Loading…
Reference in New Issue
Block a user