Whoops, consts need explicit types.
This commit is contained in:
parent
55ddf3312d
commit
720995f5b5
@ -2,7 +2,7 @@ use image::{ImageBuffer, Rgb};
|
||||
use rayon::prelude::*;
|
||||
|
||||
// Number of frames to generate.
|
||||
const FRAMES = 20;
|
||||
const FRAMES: u32 = 20;
|
||||
|
||||
// Frame size.
|
||||
const IMGW: u32 = 1024;
|
||||
@ -14,8 +14,8 @@ const MAXITER_F64: f64 = MAXITER as f64;
|
||||
const ESCRAD: f64 = 2.4;
|
||||
|
||||
// Target coordinates (what to "zoom in on" with each new frame.)
|
||||
const TARGX = -0.4638686756;
|
||||
const TARGX = 0.0723647;
|
||||
const TARGX: f64 = -0.4638686756;
|
||||
const TARGX: f64 = 0.0723647;
|
||||
|
||||
fn main() {
|
||||
let w = IMGW as f64;
|
||||
|
Loading…
x
Reference in New Issue
Block a user