Return bool in ray_triangle
It only returns booleans, so it doesn't make sense for this to be a float.
This commit is contained in:
parent
eaa992bdbc
commit
0aa202e8a1
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ namespace intersections {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline float ray_triangle(
|
inline bool ray_triangle(
|
||||||
const Ray ray,
|
const Ray ray,
|
||||||
const glm::vec3 v0,
|
const glm::vec3 v0,
|
||||||
const glm::vec3 v1,
|
const glm::vec3 v1,
|
||||||
|
|
Loading…
Add table
Reference in a new issue