Commit 6acc7448 authored by Jan Möbius's avatar Jan Möbius
Browse files

Removed unused variables

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@18089 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 72409131
...@@ -326,8 +326,6 @@ public: ...@@ -326,8 +326,6 @@ public:
{ {
const typename Mesh::VertexHandle vh = mesh_.vertex_handle(_vertexID); const typename Mesh::VertexHandle vh = mesh_.vertex_handle(_vertexID);
int counter = 0;
// read all vertex indices of this face // read all vertex indices of this face
typename Mesh::ConstVertexFaceIter adj_it = mesh_.cvf_iter(vh); typename Mesh::ConstVertexFaceIter adj_it = mesh_.cvf_iter(vh);
for (int i = 0; adj_it.is_valid() && i < _k; ++adj_it, ++i); for (int i = 0; adj_it.is_valid() && i < _k; ++adj_it, ++i);
...@@ -459,13 +457,6 @@ DrawMeshT<Mesh>::rebuild() ...@@ -459,13 +457,6 @@ DrawMeshT<Mesh>::rebuild()
return; return;
} }
int n_v = mesh_.n_vertices();
int n_e = mesh_.n_edges();
int n_f = mesh_.n_faces();
int n_h = mesh_.n_halfedges();
// full rebuild: // full rebuild:
delete meshComp_; delete meshComp_;
meshComp_ = new MeshCompiler(*vertexDeclFCol_); meshComp_ = new MeshCompiler(*vertexDeclFCol_);
...@@ -1760,7 +1751,6 @@ typename Mesh::HalfedgeHandle ACG::DrawMeshT<Mesh>::mapToHalfedgeHandle(int _ver ...@@ -1760,7 +1751,6 @@ typename Mesh::HalfedgeHandle ACG::DrawMeshT<Mesh>::mapToHalfedgeHandle(int _ver
{ {
// map to halfedge handle+ // map to halfedge handle+
int faceId, cornerId; int faceId, cornerId;
int posID = meshComp_->mapToOriginalVertexID(_vertexId, faceId, cornerId);
if (faceId >= 0) if (faceId >= 0)
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment