Boundingboxes should be ready.
Next step (later) would be to properly use them other than group to lower the number of intersection calculation per ray.
This commit is contained in:
@@ -25,6 +25,9 @@ double getEpsilon()
|
||||
|
||||
bool double_equal(double a, double b)
|
||||
{
|
||||
if (isinf(a) && isinf(b))
|
||||
return true;
|
||||
|
||||
return fabs(a - b) < current_precision;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user