mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-23 18:06:34 +11:00
Rustfmt
I should set up git pre-push hooks. Also, I am surprised this needed a fmt, and would not add all the extra vertical space if it were up to me, but the reason we use default rustfmt is to avoid spending mental energy on such details.
This commit is contained in:
parent
8f413c5b44
commit
8158e77859
1 changed files with 3 additions and 1 deletions
|
@ -106,7 +106,9 @@ async fn render(mut scenes: SceneSet, index: usize, args: &Args) -> Result<()> {
|
|||
interactive: false,
|
||||
complexity: 0,
|
||||
};
|
||||
example_scene.function.render(&mut builder, &mut scene_params);
|
||||
example_scene
|
||||
.function
|
||||
.render(&mut builder, &mut scene_params);
|
||||
let mut transform = Affine::IDENTITY;
|
||||
let (width, height) = if let Some(resolution) = scene_params.resolution {
|
||||
let ratio = resolution.x / resolution.y;
|
||||
|
|
Loading…
Add table
Reference in a new issue