~ubuntu-branches/ubuntu/trusty/yade/trusty

« back to all changes in this revision

Viewing changes to pkg/common/OpenGLRenderer.cpp

  • Committer: Package Import Robot
  • Author(s): Anton Gladky, cf3f8d9
  • Date: 2013-10-30 20:56:33 UTC
  • mfrom: (20.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20131030205633-1f01r7hjce17d723
Tags: 1.05.0-2
[cf3f8d9] Pass -ftrack-macro-expansion=0 only if gcc>=4.8. (Closes: #726009)

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
// draw periodic cell, if active
114
114
void OpenGLRenderer::drawPeriodicCell(){
115
115
        if(!scene->isPeriodic) return;
116
 
        glColor3v(Vector3r(1,1,0));
 
116
        glColor3v(cellColor);
117
117
        glPushMatrix();
118
118
                // Vector3r size=scene->cell->getSize();
119
119
                const Matrix3r& hSize=scene->cell->hSize;