Compare commits

...

2 Commits

Author SHA1 Message Date
ab226026c3 make fields private 2025-03-28 00:00:19 -04:00
e973404c82 clippy 2025-03-27 23:58:26 -04:00
3 changed files with 7 additions and 7 deletions

View File

@@ -449,7 +449,7 @@ mod tests {
&mut vec![0.0; width * height],
width,
height,
2 as f32,
2_f32,
0.1,
);

View File

@@ -5,9 +5,9 @@ use itertools::multizip;
/// Stores data that is located in grids that is used for image generation
#[derive(Clone)]
pub struct ThinGridData {
pub width: usize,
pub height: usize,
pub data: Vec<f32>,
width: usize,
height: usize,
data: Vec<f32>,
}
impl ThinGridData {
@@ -42,8 +42,8 @@ impl ThinGridData {
/// Class for storing data that will be used to create images
#[derive(Clone)]
pub struct ImgData {
pub grids: Vec<ThinGridData>,
pub palette: Palette,
grids: Vec<ThinGridData>,
palette: Palette,
}
impl ImgData {

View File

@@ -16,7 +16,7 @@ fn main() {
// Setup ffmpeg
let mut ffmpeg = std::process::Command::new("ffmpeg")
.args(&[
.args([
"-y",
"-f",
"rawvideo",