Core/Misc: update g3dlite lib (#2904)

* Core/Misc: update g3dlite lib

* update

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
This commit is contained in:
Viste
2020-07-30 13:35:45 +03:00
committed by GitHub
parent 91bbbf08eb
commit fcaf91b8b2
183 changed files with 13258 additions and 8022 deletions

View File

@@ -5,7 +5,7 @@
@created 2003-09-14
@edited 2010-04-26
Copyright 2000-2010, Morgan McGuire.
Copyright 2000-2012, Morgan McGuire.
All rights reserved.
*/
@@ -125,6 +125,11 @@ public:
return *this;
}
bool isValid() const {
return ! m_end;
}
/** @deprecated Use isValid */
bool hasMore() const {
return ! m_end;
}
@@ -254,7 +259,7 @@ void MeshAlg::computeAdjacency(
MeshEdgeTable::Iterator cur = edgeTable.begin();
Array<Edge> tempEdgeArray;
while (cur.hasMore()) {
while (cur.isValid()) {
MeshEdgeTable::FaceIndexArray& faceIndexArray = cur.faceIndex();
// Process this edge
@@ -620,7 +625,7 @@ void MeshAlg::weldAdjacency(
Array<Face>& faceArray,
Array<Edge>& edgeArray,
Array<Vertex>& vertexArray,
double radius) {
float radius) {
// Num vertices
const int n = originalGeometry.size();