www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit b0b5fb2fe0851bb60c82e40d46dff4b2311a648c
parent 8fbf7fe3c46e5ea4b81f6bd8fb9140498e968db0
Author: Yoann <yoann.b87@voila.fr>
Date:   Tue, 20 Dec 2011 21:43:20 +0100

Suite sur les ponts.

Diffstat:
Mrules/batiment/batimentquadpont.cpp | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

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