Fix triangulation static assert on dimension
This commit is contained in:
parent
ecb723af1a
commit
30546a505e
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ namespace psemek::cg
|
||||||
auto triangulate(Iterator begin, Iterator end, Callback && callback)
|
auto triangulate(Iterator begin, Iterator end, Callback && callback)
|
||||||
{
|
{
|
||||||
using point_type = std::decay_t<decltype(*begin)>;
|
using point_type = std::decay_t<decltype(*begin)>;
|
||||||
static_assert(point_type::dimension == 2);
|
static_assert(point_type::static_dimension == 2);
|
||||||
|
|
||||||
using dcel_type = dcel<Iterator, util::empty, util::empty, Index>;
|
using dcel_type = dcel<Iterator, util::empty, util::empty, Index>;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue