geom/aabb: add a point_type member typedef

This commit is contained in:
Danny Robson 2019-08-30 10:14:28 +10:00
parent 09e0b6e9a7
commit f4190012bf

View File

@ -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),