update src

This commit is contained in:
2021-09-21 22:26:58 +08:00
parent 2a20834ae0
commit 2a281b99e5
4 changed files with 20444 additions and 10977 deletions

3
tin.h
View File

@@ -289,8 +289,7 @@ void dem2tin(const std::vector<double> &dem, double xmin, double xmax, double ym
std::vector<edge> cnst_edge;
std::vector<edge>::iterator e_iter;
//while (dem_grid[0]->err >= maxi_err) // quit til the threshold is meet
for (int q = 0; q < 28; q++)
while (dem_grid[0]->err >= maxi_err) // quit til the threshold is meet
{
if (err_records != nullptr)
{