geom/ray: add an (explicitly) default constructor
This commit is contained in:
parent
2576061b26
commit
1d988608c1
@ -28,6 +28,8 @@
|
||||
namespace util::geom {
|
||||
template <size_t S, typename T>
|
||||
struct ray {
|
||||
constexpr ray () = default;
|
||||
|
||||
constexpr ray (point<S,T> _origin, vector<S,T> _direction) noexcept:
|
||||
origin (_origin),
|
||||
direction (_direction)
|
||||
|
Loading…
Reference in New Issue
Block a user