- GLfloat light0_pos[4] = { -50.0, 50.0, 0.0, 0.0 };
- GLfloat light0_color[4] = { .6, .6, .6, 1.0 }; /* white light */
- GLfloat light1_pos[4] = { 50.0, 50.0, 0.0, 0.0 };
- GLfloat light1_color[4] = { .4, .4, 1, 1.0 }; /* cold blue light */
+ static const GLfloat light0_pos[4] = { -50.0f, 50.0f, 0.0f, 0.0f };
+
+ // white light
+ static const GLfloat light0_color[4] = { 0.6f, 0.6f, 0.6f, 1.0f };
+
+ static const GLfloat light1_pos[4] = { 50.0f, 50.0f, 0.0f, 0.0f };
+
+ // cold blue light
+ static const GLfloat light1_color[4] = { 0.4f, 0.4f, 1.0f, 1.0f };