From f31beab9a7160e913da7ff30d946eaf2a721fdc8 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 10 Dec 2009 11:29:16 +0100 Subject: BSPTree-Visiting-Reihenfolge korrigiert --- Triangle.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Triangle.h') 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); -- cgit v1.2.3