fix: intersectLineTriangle types

This commit is contained in:
Gottfried Leibniz 2020-09-22 00:37:56 -03:00
parent c18ec93b0e
commit 96558e896b

View File

@ -108,7 +108,7 @@ namespace glm
genType Perpendicular = cross(dir, edge2);
float det = dot(edge1, Perpendicular);
typename genType::value_type det = dot(edge1, Perpendicular);
if (det > -Epsilon && det < Epsilon)
return false;