#include <TGLRnrCtx.h>
#include <TGLSelectRecord.h>
-
//______________________________________________________________________________
//
// GL renderer for AliEveTPCSector3D.
{
// Constructor.
- // fDLCache = false; // Disable display list.
+ fDLCache = false; // Disable display list.
}
AliEveTPCSector3DGL::~AliEveTPCSector3DGL()
glPushAttrib(GL_CURRENT_BIT | GL_POINT_BIT | GL_ENABLE_BIT);
glDisable(GL_LIGHTING);
- UChar_t col[4];
if(hasData && fSector->fPointSetOn)
{
TEvePointSet* ps = psa.GetBin(b);
if(ps->Size() > 0)
{
- TEveUtil::TEveUtil::ColorFromIdx(ps->GetMarkerColor(), col);
- glColor4ubv(col);
+ TGLUtil::Color(ps->GetMarkerColor());
if (rnrCtx.SecSelection()) glLoadName(b + 1);
glVertexPointer(3, GL_FLOAT, 0, ps->GetP());
if(fSector->fRnrFrame && ! rnrCtx.SecSelection())
{
- TEveUtil::TEveUtil::ColorFromIdx(fSector->fFrameColor, col);
- glColor4ubv(col);
+ TGLUtil::Color(fSector->fFrameColor);
if(fSector->fRnrInn)
DrawSegmentFrame(AliEveTPCSectorData::GetInnSeg(), 0, 2);