Razaekel / noise-rs

Procedural noise generation library for Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open Simplex unwrap

TheDan64 opened this issue · comments

thread '<unnamed>' panicked at C:\Users\dkolsoi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\noise-0.8.2\src\core\open_simplex.rs:190:18:
called `Option::unwrap()` on a `None` value

Which points to:

value += contribute!(1.0, 0.0, 1.0);
and
https://github.com/Razaekel/noise-rs/blob/7fc78b5a2b046c9589f933e255d87539af2fefe9/src/core/open_simplex.rs#L136C59-L136C65

Not sure how to repro, but giving it a shot