diff --git a/vite.config.js b/vite.config.js index b3684f6..b2360ad 100644 --- a/vite.config.js +++ b/vite.config.js @@ -30,7 +30,7 @@ const config = { outDir: 'build', target: 'esnext', }, - base: '/mandelbrot', + base: '/mandelbrot/', } export default config diff --git a/wasm/src/lib.rs b/wasm/src/lib.rs index 6f3a3b8..17e09fe 100644 --- a/wasm/src/lib.rs +++ b/wasm/src/lib.rs @@ -75,10 +75,6 @@ impl Mandelbrot { self.pixels.as_ptr() } - /*pub fn stats(&self) -> usize { - self.pixels.iter().filter(|p| **p == IS_IN).count() - }*/ - pub fn scale2x() { unimplemented!(); }