Import Geant4 11.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2025-12-05 08:54:02 +01:00
parent a499fb82e9
commit b4a16de652
6484 changed files with 232674 additions and 221097 deletions
-13
View File
@@ -31,19 +31,6 @@ private:
}
public:
virtual void render(render_action& a_action) {
// GL-ES : ::glMaterialfv does not work. We then use :
// ::glEnable(GL_COLOR_MATERIAL) and ::glColor.
//if(a_action.state().m_GL_LIGHTING) {
// float params[4];
// params[0] = rgb.value().r();
// params[1] = rgb.value().g();
// params[2] = rgb.value().b();
// params[3] = rgb.value().a();
// ::glMaterialfv(GL_FRONT,GL_DIFFUSE,params);
//} else {
//}
state& state = a_action.state();
state.m_color = color.value();
a_action.color4f(state.m_color);