diff options
Diffstat (limited to 'Triangle.h')
-rw-r--r-- | Triangle.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -24,6 +24,7 @@ class Triangle } void render() const { + glColor4fv(c.array); glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, c.array); glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, (c/2).array); |