#include <cmath>
#include <string>
+//#define _DEBUG_RENDERING_PERFORMANCE_
+
#ifndef GLX_GLXEXT_LEGACY
#define GLX_GLXEXT_LEGACY
#endif
act->GetProperty()->GetMTime() > this->BuildTime ||
ren->GetRenderWindow() != this->LastWindow)
{
- /* To control when the mapper is recalculated
+#ifdef _DEBUG_RENDERING_PERFORMANCE_
+ // To control when the mapper is recalculated
cout<<"VISU_OpenGLPointSpriteMapper::RenderPiece - "
<<(this->GetMTime() > this->BuildTime)<<"; "
<<(input->GetMTime() > this->BuildTime)<<"; "
<<(act->GetProperty()->GetMTime() > this->BuildTime)<<"; "
<<endl;
- */
+#endif
// sets this->Colors as side effect
this->MapScalars( act->GetProperty()->GetOpacity() );