summaryrefslogtreecommitdiff
path: root/racer-tracer/Cargo.toml
diff options
context:
space:
mode:
authorSakarias Johansson <sakarias.johansson@goodbyekansas.com>2023-01-08 17:51:44 +0100
committerSakarias Johansson <sakarias.johansson@goodbyekansas.com>2023-01-08 17:51:44 +0100
commit899f81eed6c221dce22333ad03704b12d7634a54 (patch)
treee9ea6b377bada412629341e666ae5d2eb929420a /racer-tracer/Cargo.toml
parent928b4191bf5a0d27da6d680ccaade7f94860359e (diff)
downloadracer-tracer-899f81eed6c221dce22333ad03704b12d7634a54.tar.gz
racer-tracer-899f81eed6c221dce22333ad03704b12d7634a54.tar.xz
racer-tracer-899f81eed6c221dce22333ad03704b12d7634a54.zip
🌍 Add Geometry
- Created a trait for all geometry that has to implement a hit function. Depending on if the ray hits or not it returns an option with the color. - Add support for multiple samples per pixel Current issues: - Using cooperative multitasking which isn't that helpful in this situation since it's like running without async but without overhead. Should switch to rayon. - All data gets copied once per job. Will decide later what to do (copy or put locks and share data between jobs).
Diffstat (limited to 'racer-tracer/Cargo.toml')
-rw-r--r--racer-tracer/Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/racer-tracer/Cargo.toml b/racer-tracer/Cargo.toml
index a147cfe..2083dcf 100644
--- a/racer-tracer/Cargo.toml
+++ b/racer-tracer/Cargo.toml
@@ -9,3 +9,4 @@ minifb = "0.23"
tokio = { version = "1.14.0", features = ["macros", "rt", "rt-multi-thread"] }
thiserror = "1"
futures = "0.3"
+rand = "0.8.5"