Original Post
I needed a fast triangle ray intersection algorithm for a collision detection. I found the subject here:
http://www.acm.org/jgt/papers/MollerTrumbore97/badouel_code.html
I have couple questions though.
As I understand double *t, double *alpha, double *beta are parameters that are used just to return some additional info from the function, and they do not have to be initialized before calling the function.
But what is the purpose of int i1, int i2 parameters? Are they just any number between 0 - 3 and i1 != i2 ???
Thanks..
"All things must change to something new, to something strange."
-- Henry Wadsworth Longfellow