Gonflage des toits.
This commit is contained in:
parent
8d7c3226b1
commit
3e1eafcd50
|
@ -35,7 +35,7 @@ public:
|
||||||
static const unsigned int largeurRoute = 200;
|
static const unsigned int largeurRoute = 200;
|
||||||
static const unsigned int largeurTrottoir = 140;
|
static const unsigned int largeurTrottoir = 140;
|
||||||
static const unsigned int hauteurEtage = 300;
|
static const unsigned int hauteurEtage = 300;
|
||||||
static const unsigned int hauteurToit = 200;
|
static const unsigned int hauteurToit = 200 * 10;
|
||||||
static const unsigned int hauteurTrottoir = 20;
|
static const unsigned int hauteurTrottoir = 20;
|
||||||
static const unsigned int hauteurMaxBatiment = hauteurTrottoir + hauteurEtage + hauteurToit;
|
static const unsigned int hauteurMaxBatiment = hauteurTrottoir + hauteurEtage + hauteurToit;
|
||||||
};
|
};
|
||||||
|
|
|
@ -60,8 +60,8 @@ void ToitQuad::deuxPointsVerticaux() {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
addGPUTriangle(q[SE], e, q[NE], Couleurs::toit);
|
addGPUTriangle(q[SE], e, q[NE], Couleurs::mur);
|
||||||
addGPUTriangle(q[NW], w, q[SW], Couleurs::toit);
|
addGPUTriangle(q[NW], w, q[SW], Couleurs::mur);
|
||||||
addGPUQuad(q[SE], q[SW], w, e, Couleurs::toit);
|
addGPUQuad(q[SE], q[SW], w, e, Couleurs::toit);
|
||||||
addGPUQuad(q[NW], q[NE], e, w, Couleurs::toit);
|
addGPUQuad(q[NW], q[NE], e, w, Couleurs::toit);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user