Fix cg::bbox
This commit is contained in:
parent
9e0690faf4
commit
0557737d39
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ namespace psemek::cg
|
|||
{
|
||||
using point_type = std::decay_t<decltype(*begin)>;
|
||||
|
||||
geom::box<typename point_type::scalar_type, point_type::dimension> result;
|
||||
geom::box<typename point_type::scalar_type, point_type::static_dimension> result;
|
||||
for (; begin != end; ++begin)
|
||||
result |= *begin;
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue