ray: add deduction guides
This commit is contained in:
parent
bef0aa4929
commit
44b3d8d628
@ -54,6 +54,13 @@ namespace util::geom {
|
||||
};
|
||||
|
||||
|
||||
template <size_t S, typename T>
|
||||
ray (point<S,T>,point<S,T>) -> ray<S,T>;
|
||||
|
||||
template <size_t S, typename T>
|
||||
ray (point<S,T>,vector<S,T>) -> ray<S,T>;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
/// returns the distance along the ray in a ray-plane intersection
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user