From 77bb8d19a7e541946aa29ab8ef4438890a86f00c Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 10 Dec 2009 22:21:32 +0100 Subject: =?UTF-8?q?Farben=20in=20leeren=20Konstruktoren=20auf=20Wei=C3=9F?= =?UTF-8?q?=20initialisieren?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cubehole.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Cubehole.h') diff --git a/Cubehole.h b/Cubehole.h index 835aa62..ae31052 100644 --- a/Cubehole.h +++ b/Cubehole.h @@ -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, -- cgit v1.2.3