Suite sur les ponts.

This commit is contained in:
Yoann 2011-12-20 21:43:20 +01:00
parent 8fbf7fe3c4
commit b0b5fb2fe0

View File

@ -61,11 +61,9 @@ void BatimentQuadPont::triangulation() {
Vertex l1 = ne - nw; Vertex l1 = ne - nw;
Vertex l2 = sw - se; Vertex l2 = sw - se;
int steps = (2*1.7/0.1);
float pas = 0.1; float pas = 0.1;
float n1 = l1.norm()/(2*1.7/0.1); int steps = (2*1.7/pas);
float n2 = l2.norm()/(2*1.7/0.1); float n2 = l2.norm()/(2*1.7/pas);
n1=n1;
n2=n2; n2=n2;
int middle = steps/2; int middle = steps/2;
int n; int n;