Path: func length time

This commit is contained in:
Maskass57 2024-03-25 08:56:05 +01:00
parent fa0b543b56
commit 853edfb344

View file

@ -213,8 +213,11 @@ public class Path {
* @deprecated Need to be implemented. * @deprecated Need to be implemented.
*/ */
public float getLength() { public float getLength() {
// TODO: float retour = 0 ;
return 0; for (Arc arc : arcs) {
retour += arc.getLength();
}
return retour;
} }
/** /**