diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-12-10 22:21:32 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-12-10 22:21:32 +0100 |
commit | 77bb8d19a7e541946aa29ab8ef4438890a86f00c (patch) | |
tree | 7be38d0c0ccee692275355308c3ffd62334c0331 /Cubehole.h | |
parent | 7b95a7d4bf899b4e87509ded6bf9633b944febaf (diff) | |
download | c3d-77bb8d19a7e541946aa29ab8ef4438890a86f00c.tar c3d-77bb8d19a7e541946aa29ab8ef4438890a86f00c.zip |
Farben in leeren Konstruktoren auf Weiß initialisieren
Diffstat (limited to 'Cubehole.h')
-rw-r--r-- | Cubehole.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -9,7 +9,9 @@ class Cubehole { public: - Cubehole(): width(0), height(0), depth(0), x(0), y(0), z(0), innerwidth(0), innerdepth(0) {} + Cubehole(): width(0), height(0), depth(0), x(0), y(0), z(0), innerwidth(0), innerdepth(0) { + setColor(vmml::vec4f::ONE, vmml::vec4f::ONE, vmml::vec4f::ONE, vmml::vec4f::ONE); + } Cubehole(float width0, float height0, float depth0, float x0, float y0, float z0, float innerwidth0, float innerdepth0, const vmml::vec4f &colorfront0, const vmml::vec4f &colorright0, |