Vertaa committeja

..

2 commits

Tekijä SHA1 Viesti Päivämäärä
ce66d2162b Length 2023-03-22 10:21:23 +01:00
36dfcf8e30 Lentgh 2023-03-22 10:19:28 +01:00
2 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa

Näytä tiedosto

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