using Sven's precise tri intersection test