commit e73ea9b7ec4f76db9b969db4cc3feb47ed5c5d99
parent fb381a976b84bdb7af5d5025fe91216552b87d92
Author: Yoann <yoann.b87@voila.fr>
Date: Sun, 11 Dec 2011 14:11:55 +0100
Affichage des trottoirs.
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/rules/route.cpp b/rules/route.cpp
@@ -17,15 +17,15 @@ std::ostream& operator<<(std::ostream& os, const Route& r) {
return os << "Route " << r.ne << "-" << r.se << "-" << r.sw << "-" << r.nw;
}
-
+/*
void Route::triangulation() {
triangles.reserve(2);
addTriangle(new Triangle(ne, nw, sw, 0x36, 0x36, 0x36));
addTriangle(new Triangle(sw, se, ne, 0x36, 0x36, 0x36));
-}
+}*/
// Version avec trottoirs.
-/*void Route::triangulation() {
+void Route::triangulation() {
triangles.reserve(6);
Vertex nne, nnw, nse, nsw; // Nouvel emplacement de la route.
Vertex pvLne, pvLnw, pvLsw, pvLse; // Trottoir Nord (pv => pavement)
@@ -51,4 +51,4 @@ void Route::triangulation() {
addTriangle(new Triangle(nne, nnw, nsw, 0x36, 0x36, 0x36));
addTriangle(new Triangle(nsw, nse, nne, 0x36, 0x36, 0x36));
-}*/
+}