Move Material to new module && TriangleBVH intersect && Seperate light and material

This commit is contained in:
hal8174 2024-09-30 21:13:50 +02:00
parent 50d3874467
commit b3fdef8837
18 changed files with 180 additions and 90 deletions

9
Cargo.lock generated
View file

@ -731,12 +731,21 @@ dependencies = [
"rayon",
]
[[package]]
name = "ray-tracing-material"
version = "0.1.0"
dependencies = [
"rand",
"ray-tracing-core",
]
[[package]]
name = "ray-tracing-scene"
version = "0.1.0"
dependencies = [
"rand",
"ray-tracing-core",
"ray-tracing-material",
]
[[package]]