mirror of
https://github.com/MorizzG/ray-tracer.git
synced 2025-12-06 04:22:42 +00:00
added Materials
Lambertian: scatter ray randomly with absorption Metal: reflect ray with absorption
This commit is contained in:
parent
aaae4a8196
commit
79869930cf
7 changed files with 92 additions and 38 deletions
|
|
@ -27,7 +27,6 @@ if get_option('native')
|
|||
endif
|
||||
|
||||
|
||||
|
||||
rand_proj = subproject('rand', default_options : ['warning_level=0', 'werror=false'])
|
||||
rand_dep = rand_proj.get_variable('rand_dep')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue