geom/segment: add deduction guide
This commit is contained in:
parent
6ae38d7f9e
commit
f6cec803d7
@ -88,4 +88,8 @@ namespace cruft::geom {
|
||||
|
||||
using segment2f = segment<2,float>;
|
||||
using segment3f = segment<3,float>;
|
||||
|
||||
|
||||
template <size_t S, typename T>
|
||||
segment (point<S,T>, point<S,T>) -> segment<S,T>;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user