mirror of
https://github.com/g-truc/glm.git
synced 2025-04-05 21:45:02 +00:00
fix: intersectLineTriangle types
This commit is contained in:
parent
c18ec93b0e
commit
96558e896b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue