mirror of https://github.com/CGAL/cgal
Fix grid generation ignoring z coordinates
This commit is contained in:
parent
354a3ef670
commit
c51c7792b8
|
|
@ -766,7 +766,7 @@ struct Point_generator
|
||||||
{
|
{
|
||||||
return Point(bl.x() + i*(ur.x()-bl.x())/(w-1),
|
return Point(bl.x() + i*(ur.x()-bl.x())/(w-1),
|
||||||
bl.y() + j*(ur.y()-bl.y())/(h-1),
|
bl.y() + j*(ur.y()-bl.y())/(h-1),
|
||||||
0);
|
bl.z() + j*(ur.z()-bl.z())/(h-1));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
template<class Facegraph_item>
|
template<class Facegraph_item>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue