rtiow: get build_all_features.sh working again.
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Bill Thiede 2022-06-13 21:22:20 -07:00
parent e574cdb592
commit 665ae244d7
2 changed files with 0 additions and 14 deletions

View File

@ -32,13 +32,6 @@ struct Opt {
/// HTTP listen address /// HTTP listen address
#[structopt(long = "addr", default_value = "0.0.0.0:8889")] #[structopt(long = "addr", default_value = "0.0.0.0:8889")]
pub addr: String, pub addr: String,
/// Width of noise images
#[structopt(short = "w", long = "width", default_value = "128")]
pub width: u32,
/// Height of noise images
#[structopt(short = "h", long = "height", default_value = "128")]
pub height: u32,
} }
#[derive(Copy, Clone, Debug, Deserialize, PartialEq)] #[derive(Copy, Clone, Debug, Deserialize, PartialEq)]
@ -63,11 +56,6 @@ struct OptionalParams {
pixel_scale: f32, pixel_scale: f32,
} }
#[derive(Debug, Deserialize)]
struct NoiseSourceParam {
noise_source: NoiseSource,
}
#[derive(Debug, Deserialize)] #[derive(Debug, Deserialize)]
struct NoiseParams { struct NoiseParams {
width: u32, width: u32,

View File

@ -7,7 +7,6 @@ use crate::vec3::Vec3;
#[derive(Debug)] #[derive(Debug)]
pub struct Mandelbrot { pub struct Mandelbrot {
scale: f32,
palette: Vec<Vec3>, palette: Vec<Vec3>,
} }
@ -49,7 +48,6 @@ fn generate_palette(num: usize) -> Vec<Vec3> {
impl Default for Mandelbrot { impl Default for Mandelbrot {
fn default() -> Self { fn default() -> Self {
Mandelbrot { Mandelbrot {
scale: 2.0,
palette: generate_palette(10), palette: generate_palette(10),
} }
} }