Commit dd4c41ca authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[CHANGE] - made axis and cube colors consistent

parent 46dae2bb
......@@ -177,15 +177,15 @@ void WMCoordinateHUD::buildColorAxis()
// y direction transition from green to white
// z direction transition from blue to white
osg::Vec4Array* color = new osg::Vec4Array( 12 );
(*color)[0] = x_color;
(*color)[1] = x_color;
(*color)[2] = y_color;
(*color)[3] = y_color;
(*color)[0] = y_color;
(*color)[1] = y_color;
(*color)[2] = x_color;
(*color)[3] = x_color;
(*color)[4] = z_color;
(*color)[5] = z_color;
(*color)[6] = x_color;
(*color)[6] = y_color;
(*color)[7] = neg_color;
(*color)[8] = y_color;
(*color)[8] = x_color;
(*color)[9] = neg_color;
(*color)[10] = z_color;
(*color)[11] = neg_color;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment