mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-07 11:28:28 +00:00
Inline redundant variable
This commit is contained in:
parent
8ac7f54b4a
commit
d78d3ec182
@ -167,13 +167,11 @@ impl Camera {
|
||||
-offset
|
||||
};
|
||||
|
||||
let translation = Transform::translation([
|
||||
self.translation = Transform::translation([
|
||||
initial_offset.x,
|
||||
initial_offset.y,
|
||||
-initial_distance,
|
||||
]);
|
||||
|
||||
self.translation = translation;
|
||||
}
|
||||
|
||||
/// Update the max and minimum rendering distance for this camera.
|
||||
|
Loading…
Reference in New Issue
Block a user