Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
Gasson-Betuing Danyl 2025-04-04 10:07:07 +02:00
commit f235455a18

View file

@ -198,8 +198,12 @@ public class Path {
* @deprecated Need to be implemented.
*/
public float getLength() {
// TODO:
return 0;
float length = 0f;
for(Arc arcs : this.arcs)
{
length += arcs.getLength();
}
return length;
}
/**