mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
erase warning: clang
This commit is contained in:
parent
fb4fb791dd
commit
61720b72c3
18 changed files with 108 additions and 1 deletions
|
@ -5,5 +5,6 @@
|
|||
#include <sprout/darkroom/objects/intersect.hpp>
|
||||
#include <sprout/darkroom/objects/sphere.hpp>
|
||||
#include <sprout/darkroom/objects/aa_plane.hpp>
|
||||
#include <sprout/darkroom/objects/polygon.hpp>
|
||||
|
||||
#endif // #ifndef SPROUT_DARKROOM_OBJECTS_HPP
|
||||
|
|
|
@ -64,7 +64,7 @@ namespace sprout {
|
|||
? sprout::darkroom::rays::point_of_intersection(ray, distance)
|
||||
: position_type(0, 0, 0)
|
||||
,
|
||||
hit_side > 0 ? normal_ : sprout::darkroom::coords::negate(normal_),
|
||||
normal_,//hit_side > 0 ? normal_ : sprout::darkroom::coords::negate(normal_),
|
||||
sprout::darkroom::materials::calc_material(mat_, unit_type(0), unit_type(0)) // ???
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue