Remove dynamic-sized storage from math::box
This commit is contained in:
parent
4b314d78c4
commit
a8e08bf6d3
1 changed files with 1 additions and 2 deletions
|
|
@ -1,6 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
#include <psemek/math/detail/array.hpp>
|
||||
#include <psemek/math/interval.hpp>
|
||||
#include <psemek/math/point.hpp>
|
||||
|
||||
|
|
@ -13,7 +12,7 @@ namespace psemek::math
|
|||
template <typename T, std::size_t N>
|
||||
struct box
|
||||
{
|
||||
typename detail::array<interval<T>, N>::type axes;
|
||||
interval<T> axes[N];
|
||||
|
||||
using point_type = point<T, N>;
|
||||
using vector_type = vector<T, N>;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue