From 7f12c99bbfb5a49ca92a4c4edd6afda3dfbdb16a Mon Sep 17 00:00:00 2001 From: Yoann Date: Thu, 12 Jan 2012 09:32:39 +0100 Subject: [PATCH] =?UTF-8?q?Corretion=20d'un=20probl=C3=A8me=20de=20normale?= =?UTF-8?q?=20dans=20la=20fonction=20addGPUOcto.=20Remise=20dest=20toits?= =?UTF-8?q?=20des=20maison=20simples=20enlev=C3=A9s=20pour=20le=20d=C3=A9b?= =?UTF-8?q?ug.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rules/batiment/batimentquadmaison.cpp | 2 +- rules/chose.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/batiment/batimentquadmaison.cpp b/rules/batiment/batimentquadmaison.cpp index 86bcdc6..2f6493d 100644 --- a/rules/batiment/batimentquadmaison.cpp +++ b/rules/batiment/batimentquadmaison.cpp @@ -16,7 +16,7 @@ bool BatimentQuadMaison::split() { Vertex toit = (ch[NE] + ch[SE] + ch[SW] + ch[NW]) / 4 + Vertex(0,0,htoit); addChild(new BatimentQuadBlock(c,ch)); - //addChild(new BatimentQuadToit(ch,1)); + addChild(new BatimentQuadToit(ch,1)); return true; } diff --git a/rules/chose.cpp b/rules/chose.cpp index 50e4516..6bb7c73 100644 --- a/rules/chose.cpp +++ b/rules/chose.cpp @@ -43,7 +43,7 @@ void Chose::addGPUOcto(Vertex ne, Vertex se, Vertex sw, Vertex nw, } void Chose::addGPUOcto(Quad q, Quad qh, unsigned char r, unsigned char g, unsigned char b) { - this->addGPUQuad(q[NE], q[SE], q[SW], q[NW], r, g, b); + this->addGPUQuad(q[SE], q[NE], q[NW], q[SW], r, g, b); this->addGPUQuad(qh[NE], qh[SE], qh[SW], qh[NW], r, g, b); for (int i = 0; i < 4; i++) this->addGPUQuad(q[NE+i], q[SE+i], qh[SE+i], qh[NE+i], r, g, b);