Seems long ago I forgot to update/correct the local boudingbox calculation for triangles....

This commit is contained in:
Godzil
2020-03-06 09:39:33 +00:00
parent 518ac260e1
commit 2488cc6319

View File

@@ -63,9 +63,9 @@ BoundingBox Triangle::getLocalBounds()
{ {
BoundingBox ret; BoundingBox ret;
ret | this->objectToWorld(p1); ret | p1;
ret | this->objectToWorld(p2); ret | p2;
ret | this->objectToWorld(p3); ret | p3;
return ret; return ret;
} }