mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix darkroom: fix template operator() member-function call -> calcurate() free-function
This commit is contained in:
parent
3cb882ce91
commit
dfcb6bcf31
25 changed files with 494 additions and 129 deletions
|
@ -42,7 +42,7 @@ namespace sprout {
|
|||
unit_type,
|
||||
position_type,
|
||||
position_type,
|
||||
decltype(sprout::darkroom::materials::calc_material(
|
||||
decltype(sprout::darkroom::materials::calculate_material(
|
||||
std::declval<material_type const&>(),
|
||||
std::declval<unit_type const&>(),
|
||||
std::declval<unit_type const&>()
|
||||
|
@ -128,7 +128,7 @@ namespace sprout {
|
|||
sprout::tuples::get<zw::distance>(zwo),
|
||||
sprout::tuples::get<dr::point_of_intersection>(drei),
|
||||
sprout::tuples::get<dr::normal>(drei),
|
||||
sprout::darkroom::materials::calc_material( // ! Spherical
|
||||
sprout::darkroom::materials::calculate_material( // ! Spherical
|
||||
mat_,
|
||||
sprout::atan2(
|
||||
sprout::darkroom::coords::z(normal),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue