lovasko / Svit

C++11 Raytracer
Other
5 stars 1 forks source link

Sub-optimal Triangle storage #60

Closed lovasko closed 9 years ago

lovasko commented 9 years ago

We can spare p2 and p3, thus saving 6 floats per triangle. This will not affect the Triangle::intersect at all.