minor (missing include, left CMeshO)

This commit is contained in:
ganovelli 2011-01-23 22:28:39 +00:00
parent 71bdb18e07
commit f7d8e31056
1 changed files with 4 additions and 1 deletions

View File

@ -25,10 +25,13 @@
#define SPLATRENDERER_H #define SPLATRENDERER_H
#include <QObject> #include <QObject>
#include <QTextStream>
#include <QFile>
#include <wrap/gl/trimesh.h> #include <wrap/gl/trimesh.h>
#include <wrap/gl/shaders.h> #include <wrap/gl/shaders.h>
#include <wrap/gl/trimesh.h> #include <wrap/gl/trimesh.h>
#include <QGLFramebufferObject> #include <QGLFramebufferObject>
#include <vcg/complex/trimesh/base.h>
#define GL_TEST_ERR\ #define GL_TEST_ERR\
{\ {\
GLenum eCode;\ GLenum eCode;\
@ -771,7 +774,7 @@ void SplatRenderer<MeshType>::drawSplats(std::vector<MeshType*> & meshes, vcg::G
cm=vcg::GLW::CMNone; cm=vcg::GLW::CMNone;
glPushMatrix(); glPushMatrix();
glMultMatrix( m.Tr); glMultMatrix( m.Tr);
CMeshO::VertexIterator vi; typename MeshType::VertexIterator vi;
glBegin(GL_POINTS); glBegin(GL_POINTS);
if(cm==vcg::GLW::CMPerMesh) if(cm==vcg::GLW::CMPerMesh)
glColor( m.C()); glColor( m.C());