summaryrefslogtreecommitdiffstats
path: root/Triangle.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-12-10 11:29:16 +0100
committerMatthias Schiffer <matthias@gamezock.de>2009-12-10 11:29:16 +0100
commitf31beab9a7160e913da7ff30d946eaf2a721fdc8 (patch)
tree1239a46bbea9c8f4af295d2a66e0429d960550ff /Triangle.h
parent4f2236f36446a5b097e28c0f76e4962ce7e115b1 (diff)
downloadc3d-f31beab9a7160e913da7ff30d946eaf2a721fdc8.tar
c3d-f31beab9a7160e913da7ff30d946eaf2a721fdc8.zip
BSPTree-Visiting-Reihenfolge korrigiert
Diffstat (limited to 'Triangle.h')
-rw-r--r--Triangle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Triangle.h b/Triangle.h
index dc48071..febcb3d 100644
--- a/Triangle.h
+++ b/Triangle.h
@@ -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);