Apply hosted formatting to the brush pixel regression

This commit is contained in:
yoriswind committed 2026-11-28 10:16:28 -08:00
1 parent 6b728336b2
commit 15078a06e1
1 file changed
+1 -8
@@ -8,14 +8,7 @@ use crate::{BrushSettings, StrokePoint, render_stroke};
fn paint(noise: bool, hardness: f32, seed: u64) -> Surface {
let brush = BrushSettings { size: 60.0, hardness, noise, seed, ..BrushSettings::default() };
let mut surface = Surface::new(PixelFormat::RGBA32F);
render_stroke(
&mut surface,
&brush,
&[StrokePoint::new(100.0, 100.0, 1.0), StrokePoint::new(400.0, 100.0, 1.0)],
None,
false,
1.0,
);
render_stroke(&mut surface, &brush, &[StrokePoint::new(100.0, 100.0, 1.0), StrokePoint::new(400.0, 100.0, 1.0)], None, false, 1.0);
surface
}