mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
fix: intersectLineTriangle types
This commit is contained in:
parent
c18ec93b0e
commit
96558e896b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user