Correction d'une petite erreurs.

This commit is contained in:
Yoann 2012-01-12 09:51:14 +01:00
parent 7f12c99bbf
commit c06923105d

View File

@ -14,7 +14,7 @@ void BatimentQuadMur::getBoundingBoxPoints() {
void BatimentQuadMur::setWindow(bool val) {
val = val;
this->window = val;
Quad q = Quad(ch[SE],c[SE],c[SW],ch[SW]);
Quad q = Quad(ch[NE],c[NE],c[NW],ch[NW]);
int lr = (q.length(S) - 120)/2;
Quad wFront = q.insetNESW(90,lr,120,lr);