Fix grid generation ignoring z coordinates

This commit is contained in:
Mael 2020-02-10 10:47:55 +01:00 committed by GitHub
parent 354a3ef670
commit c51c7792b8
1 changed files with 1 additions and 1 deletions

View File

@ -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>