OM3 compat
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1198 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -276,7 +276,7 @@ MeshViewerWidgetT<M>::draw_openmesh(const std::string& _draw_mode)
|
||||
glBegin(GL_TRIANGLES);
|
||||
for (; fIt!=fEnd; ++fIt)
|
||||
{
|
||||
fvIt = mesh_.cfv_iter(fIt.handle());
|
||||
fvIt = mesh_.cfv_iter(*fIt);
|
||||
glVertex3fv( &mesh_.point(fvIt)[0] );
|
||||
++fvIt;
|
||||
glVertex3fv( &mesh_.point(fvIt)[0] );
|
||||
@@ -293,7 +293,7 @@ MeshViewerWidgetT<M>::draw_openmesh(const std::string& _draw_mode)
|
||||
{
|
||||
glNormal3fv( &mesh_.normal(fIt)[0] );
|
||||
|
||||
fvIt = mesh_.cfv_iter(fIt.handle());
|
||||
fvIt = mesh_.cfv_iter(*fIt);
|
||||
glVertex3fv( &mesh_.point(fvIt)[0] );
|
||||
++fvIt;
|
||||
glVertex3fv( &mesh_.point(fvIt)[0] );
|
||||
@@ -326,7 +326,7 @@ MeshViewerWidgetT<M>::draw_openmesh(const std::string& _draw_mode)
|
||||
glBegin(GL_TRIANGLES);
|
||||
for (; fIt!=fEnd; ++fIt)
|
||||
{
|
||||
fvIt = mesh_.cfv_iter(fIt.handle());
|
||||
fvIt = mesh_.cfv_iter(*fIt);
|
||||
glArrayElement(fvIt->idx());
|
||||
++fvIt;
|
||||
glArrayElement(fvIt->idx());
|
||||
@@ -362,7 +362,7 @@ MeshViewerWidgetT<M>::draw_openmesh(const std::string& _draw_mode)
|
||||
glBegin(GL_TRIANGLES);
|
||||
for (; fIt!=fEnd; ++fIt)
|
||||
{
|
||||
fvIt = mesh_.cfv_iter(fIt.handle());
|
||||
fvIt = mesh_.cfv_iter(*fIt);
|
||||
glArrayElement(fvIt->idx());
|
||||
++fvIt;
|
||||
glArrayElement(fvIt->idx());
|
||||
@@ -388,9 +388,9 @@ MeshViewerWidgetT<M>::draw_openmesh(const std::string& _draw_mode)
|
||||
glBegin(GL_TRIANGLES);
|
||||
for (; fIt!=fEnd; ++fIt)
|
||||
{
|
||||
glColor( fIt.handle() );
|
||||
glColor( *fIt );
|
||||
|
||||
fvIt = mesh_.cfv_iter(fIt.handle());
|
||||
fvIt = mesh_.cfv_iter(*fIt);
|
||||
glArrayElement(fvIt->idx());
|
||||
++fvIt;
|
||||
glArrayElement(fvIt->idx());
|
||||
|
||||
Reference in New Issue
Block a user