raylib-rs
raylib-rs copied to clipboard
Fixed the number of arguments for thread_rng gen_range
toolchain used: rustc 1.63.0-nightly (5750a6aa2 2022-06-20)
9402 error[E0277]: the trait bound `std::ops::Range<{float}>: SampleUniform` is not satisfied
9403 --> samples/3d_camera_first_person.rs:17:41
9404 |
9405 17 | let height: f32 = rng.gen_range(1.0..12.0);
9406 | --------- ^^^^^^^^^ the trait `SampleUniform` is not impl
9407 emented for `std::ops::Range<{float}>`
9408 | |
9409 | required by a bound introduced by this call
Hi, if you're still interested in working on this, some users of the library are moving over to a fork of it which aims to be actively maintained. It would be nice if you reopened the PR there!