Fix ray-simplex intersection
This commit is contained in:
parent
1bebfebb6d
commit
a1ecc8a2d6
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ namespace psemek::geom
|
|||
}
|
||||
|
||||
template <typename T, std::size_t N>
|
||||
bool intersect(ray<T, N> const & r, simplex<T, N> const & s)
|
||||
bool intersect(ray<T, N> const & r, simplex<point<T, N>, N - 1> const & s)
|
||||
{
|
||||
return static_cast<bool>(intersection(r, s));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue