mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add const_iterator_cast
This commit is contained in:
parent
be0bc155d8
commit
cd72873c3a
7 changed files with 175 additions and 8 deletions
|
@ -72,9 +72,9 @@ namespace sprout {
|
|||
? sprout::darkroom::rays::point_of_intersection(ray, distance)
|
||||
: position_type(0, 0, 0)
|
||||
,
|
||||
normal_,//hit_side > 0 ? normal_ : sprout::darkroom::coords::negate(normal_),
|
||||
normal_,// !!! TEMP: hit_side > 0 ? normal_ : sprout::darkroom::coords::negate(normal_),
|
||||
sprout::darkroom::materials::calculate_material(mat_, unit_type(0), unit_type(0)), // ???
|
||||
false // !!! is_from_inside
|
||||
false // !!! TEMP: is_from_inside
|
||||
);
|
||||
}
|
||||
template<typename Ray>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue