mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 15:16:24 +00:00
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:
11
deps/g3dlite/source/MeshAlgAdjacency.cpp
vendored
11
deps/g3dlite/source/MeshAlgAdjacency.cpp
vendored
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user