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. * @deprecated Need to be implemented.
*/ */
public float getLength() { public float getLength() {
// TODO: float length = 0f;
return 0; for(Arc arcs : this.arcs)
{
length += arcs.getLength();
}
return length;
} }
/** /**