Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
f235455a18
1 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue