Transition from OpenGL to Unity
AABB-triangle overlap test code by Tomas Akenine-Möller