melvyn2 / wireframe-swraster Goto Github PK
View Code? Open in Web Editor NEWMessy rust sw renderer based on Computer Graphics from Scratch and SDL2
License: MIT License
Messy rust sw renderer based on Computer Graphics from Scratch and SDL2
License: MIT License
wireframe-swraster/src/main.rs
Line 1 in 8ee097d
destructuring_assignment has been stable since 1.59
option_expect_none gives
error[E0635]: unknown feature `option_expect_none`
I am currently using rust 1.62
While trying to update dependencies I ran into a wall with this one, rust expert help needed
error[E0432]: unresolved import `nanorand::RNG`
--> src/main.rs:7:24
|
7 | use nanorand::{WyRand, RNG};
| ^^^
| |
| no `RNG` in the root
| help: a similar name exists in the module: `Rng`
error[E0599]: no method named `generate_range` found for mutable reference `&mut WyRand` in the current scope
--> src/main.rs:34:9
|
34 | rng.generate_range::<u16>(0, 10000) as FP / 10000.0
| ^^^^^^^^^^^^^^ method not found in `&mut WyRand`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 | use nanorand::Rng;
|
Some errors have detailed explanations: E0432, E0599.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `graphics` due to 2 previous errors
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.