fix warning on ditherpunk test routine

This commit is contained in:
bunnie 2022-06-14 17:09:26 +08:00
parent 0cdd9d9920
commit dbd7ad1770

View file

@ -174,6 +174,7 @@ pub fn spawn_test() {
}
// https://sequelaencollection.home.blog/2d-chaotic-attractors/
#[allow(dead_code)]
fn clifford() -> Img {
const SIZE: u32 = Modals::MODAL_WIDTH;
const CENTER: f32 = (SIZE / 2) as f32;