Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37561657
en ru br
Репозитории ALT

Группа :: Графика
Пакет: meshlab

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: meshlab-2016.12-stdmin.patch
Скачать


diff -up vcglib-1.0.1/vcg/complex/algorithms/create/resampler.h.stdmin vcglib-1.0.1/vcg/complex/algorithms/create/resampler.h
--- vcglib-1.0.1/vcg/complex/algorithms/create/resampler.h.stdmin	2017-07-20 11:11:49.636640240 -0400
+++ vcglib-1.0.1/vcg/complex/algorithms/create/resampler.h	2017-07-20 11:12:14.835048273 -0400
@@ -23,6 +23,7 @@
 #ifndef __VCG_MESH_RESAMPLER
 #define __VCG_MESH_RESAMPLER
 
+#include <algorithm>
 #include <vcg/complex/algorithms/update/normal.h>
 #include <vcg/complex/algorithms/update/flag.h>
 #include <vcg/complex/algorithms/update/bounding.h>
@@ -251,7 +252,7 @@ class Resampler : public BasicGrid<typen
         */
     void ComputeConsensus(int /*slice*/, field_value *slice_values)
     {
-      float max_dist = min(min(this->voxel[0],this->voxel[1]),this->voxel[2]);
+      float max_dist = std::min(std::min(this->voxel[0],this->voxel[1]),this->voxel[2]);
       int flippedCnt=0;
       int flippedTot=0;
       int flippedTimes=0;
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin