geom/aabb: add a point_type member typedef
This commit is contained in:
parent
09e0b6e9a7
commit
f4190012bf
@ -23,6 +23,8 @@ namespace cruft::geom {
|
||||
/// we can represent zero sized bounding-boxes.
|
||||
template <size_t S, typename T>
|
||||
struct aabb {
|
||||
using point_type = cruft::point<S,T>;
|
||||
|
||||
aabb () = default;
|
||||
aabb (point<S,T> _lo, point<S,T> _hi):
|
||||
lo (_lo),
|
||||
|
Loading…
Reference in New Issue
Block a user