geom/ops: add variadic aabb calculation
This commit is contained in:
parent
ce3e3d83d3
commit
9ea44a5063
@ -65,6 +65,14 @@ namespace cruft::geom {
|
||||
bounds (K<S,T>);
|
||||
|
||||
|
||||
/// Returns a bounding AABB for all supplied items
|
||||
template <typename... Args>
|
||||
auto
|
||||
bounds (Args &&...args)
|
||||
{
|
||||
return (bounds (args) | ...);
|
||||
}
|
||||
|
||||
/// Returns a maximum distance across a shape.
|
||||
template <
|
||||
size_t S,
|
||||
|
Loading…
Reference in New Issue
Block a user