Fix curve reverse
This commit is contained in:
parent
6a4531fe1d
commit
c679680cf0
@ -20,7 +20,10 @@ public class GmcCurve(
|
||||
}
|
||||
}
|
||||
|
||||
public fun GmcCurve.reversed(): GmcCurve = GmcCurve(backward, forward, distance)
|
||||
/**
|
||||
* Reverse direction and order of ends
|
||||
*/
|
||||
public fun GmcCurve.reversed(): GmcCurve = GmcCurve(backward.reversed(), forward.reversed(), distance)
|
||||
|
||||
/**
|
||||
* Compute a curve alongside a meridian
|
||||
|
Loading…
Reference in New Issue
Block a user