gcc dislike doubleline comments; removed.
This commit is contained in:
parent
18458e04a2
commit
283834183d
|
@ -29,7 +29,7 @@
|
|||
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
|
||||
#include <vcg/space/tetra3.h>
|
||||
namespace vcg{
|
||||
|
||||
template <class MESH_TYPE>
|
||||
|
@ -212,7 +212,8 @@ static int PickTetra(int x, int y, TETRA_MESH_TYPE &m, std::vector<TetraPointer>
|
|||
//xstring buf;
|
||||
//if (hits <= 0) return 0;
|
||||
std::vector< std::pair<double,unsigned int> > H;
|
||||
for(int ii=0;ii<hits;ii++){
|
||||
int ii;
|
||||
for(ii=0;ii<hits;ii++){
|
||||
//TRACE("%ui %ui %ui %ui\n",selectBuf[ii*4],selectBuf[ii*4+1],selectBuf[ii*4+2],selectBuf[ii*4+3]);
|
||||
H.push_back( std::pair<double,unsigned int>(selectBuf[ii*4+1]/4294967295.0,selectBuf[ii*4+3]));
|
||||
}
|
||||
|
@ -303,7 +304,8 @@ static int PickTetraFace(int x, int y, TETRA_MESH_TYPE &m, std::vector<std::pair
|
|||
//xstring buf;
|
||||
//if (hits <= 0) return 0;
|
||||
std::vector< std::pair<double,unsigned int> > H;
|
||||
for(int ii=0;ii<hits;ii++){
|
||||
int ii;
|
||||
for(ii=0;ii<hits;ii++){
|
||||
//TRACE("%ui %ui %ui %ui\n",selectBuf[ii*4],selectBuf[ii*4+1],selectBuf[ii*4+2],selectBuf[ii*4+3]);
|
||||
H.push_back( std::pair<double,unsigned int>(selectBuf[ii*4+1]/4294967295.0,selectBuf[ii*4+3]));
|
||||
}
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
History
|
||||
|
||||
$Log: not supported by cvs2svn $
|
||||
Revision 1.19 2006/02/13 13:05:05 cignoni
|
||||
Removed glew inclusion
|
||||
|
||||
Revision 1.18 2006/02/09 10:00:39 cignoni
|
||||
Switched from rough zoffset to glpolygonoffset for hiddenline and flatlines modes. Less zfighting...
|
||||
|
||||
|
@ -775,7 +778,7 @@ void Crease(MESH_TYPE &m, typename MESH_TYPE::scalar_type angleRad)
|
|||
if(he.v == he.f->V(he.z)) spl.z=he.z;
|
||||
if(he.v == he.f->V((he.z+1)%3)) spl.z=(he.z+1)%3;
|
||||
assert(spl.z>=0);
|
||||
//VCTRACE(" -- spinning face vert %i Adding spl face %i vert %i\n",\
|
||||
//VCTRACE(" -- spinning face vert %i Adding spl face %i vert %i\n",
|
||||
// he.v-m.vert.begin(), spl.f-m.face.begin(), spl.z );
|
||||
assert((spl.f->Supervisor_Flags() & vis[spl.z] )==0);
|
||||
spl.f->Supervisor_Flags() |= vis[spl.z];
|
||||
|
|
Loading…
Reference in New Issue