Confronta commit

..

2 commit

Autore SHA1 Messaggio Data
ce66d2162b Length 2023-03-22 10:21:23 +01:00
36dfcf8e30 Lentgh 2023-03-22 10:19:28 +01:00
2 ha cambiato i file con 5 aggiunte e 1 eliminazioni

Vedi file

@ -214,7 +214,11 @@ public class Path {
*/ */
public float getLength() { public float getLength() {
// TODO: // TODO:
return 0 ; float length=0;
for (Arc arc : arcs) {
length += arc.getLength();
}
return length ;
} }
/** /**