(somewhat) improved the colour scheme

This commit is contained in:
Marc Zinnschlag 2015-10-13 16:15:53 +02:00
parent 0b1d6bddc8
commit 68115c4e8a

View file

@ -116,7 +116,7 @@ void CSVRender::CellArrow::buildShape()
for (int i=0; i<6; ++i)
colours->push_back (osg::Vec4f (1.0f, 0.0f, 0.0f, 1.0f));
for (int i=0; i<6; ++i)
colours->push_back (osg::Vec4f (1.0f, 0.0f, 0.4f, 1.0f));
colours->push_back (osg::Vec4f (0.8f, (i==2 || i==5) ? 0.6f : 0.4f, 0.0f, 1.0f));
geometry->setColorArray (colours);
geometry->setColorBinding (osg::Geometry::BIND_PER_VERTEX);