summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6d42896)
raw | patch | inline | side by side (parent: 6d42896)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 5 Nov 2006 05:35:30 +0000 (05:35 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 5 Nov 2006 05:35:30 +0000 (05:35 +0000) |
src/livarot/Shape.cpp | patch | blob | history |
diff --git a/src/livarot/Shape.cpp b/src/livarot/Shape.cpp
index 145bbafe53772ec9dfef69cbfbe367f7b8731513..1a2f63871b89095edace9872a6e38acd928094dd 100644 (file)
--- a/src/livarot/Shape.cpp
+++ b/src/livarot/Shape.cpp
void Shape::Affiche(void)
{
- /*
- printf("sh=%p nbPt=%i nbAr=%i\n",this,nbPt,nbAr); // localizing ok
- for (int i=0;i<nbPt;i++) {
- printf("pt %i : x=(%f %f) dI=%i dO=%i\n",i,pts[i].x[0],pts[i].x[1],pts[i].dI,pts[i].dO); // localizing ok
+ printf("sh=%p nbPt=%i nbAr=%i\n",this, _pts.size(), _aretes.size()); // localizing ok
+ for (unsigned int i=0; i<_pts.size(); i++) {
+ printf("pt %i : x=(%f %f) dI=%i dO=%i\n",i, _pts[i].x[0], _pts[i].x[1], _pts[i].dI, _pts[i].dO); // localizing ok
}
- for (int i=0;i<nbAr;i++) {
- printf("ar %i : dx=(%f %f) st=%i en=%i\n",i,aretes[i].dx[0],aretes[i].dx[1],aretes[i].st,aretes[i].en); // localizing ok
+ for (unsigned int i=0; i<_aretes.size(); i++) {
+ printf("ar %i : dx=(%f %f) st=%i en=%i\n",i, _aretes[i].dx[0], _aretes[i].dx[1], _aretes[i].st, _aretes[i].en); // localizing ok
}
- */
}
/**