Skip to content

Commit

Permalink
Revert "Pendulum window: slightly changed the colour of our axes."
Browse files Browse the repository at this point in the history
This reverts commit c897b95.
  • Loading branch information
agarny committed Jun 11, 2018
1 parent c897b95 commit cf8cdf2
Showing 1 changed file with 1 addition and 8 deletions.
Expand Up @@ -360,14 +360,7 @@ void PendulumWindowWindow::initData(const int &pDataSize,
pointAttributes.setGlyphShapeType(OpenCMISS::Zinc::Glyph::SHAPE_TYPE_AXES_XYZ);
pointAttributes.setBaseSize(3, pointAttributesData);

OpenCMISS::Zinc::Material material = materialModule.createMaterial();

double rgbValues[] = { 0.0, 0.445, 0.738 };

material.setAttributeReal3(OpenCMISS::Zinc::Material::ATTRIBUTE_AMBIENT, rgbValues);
material.setAttributeReal3(OpenCMISS::Zinc::Material::ATTRIBUTE_DIFFUSE, rgbValues);

axes.setMaterial(material);
axes.setMaterial(materialModule.findMaterialByName("blue"));

// Make a thin cylinder glyph representing the string of the
// pendulum, which starts from rcOrigin extending in the direction
Expand Down

0 comments on commit cf8cdf2

Please sign in to comment.