Replace mod_() calls with mod()
This commit is contained in:
@@ -38,4 +38,4 @@ fun ShapeContour.bulgeSegments(distortion: Double) =
|
||||
bulgeSegments { _, _ -> distortion }
|
||||
|
||||
fun ShapeContour.bulgeSegments(distortion: List<Double>) =
|
||||
bulgeSegments { index, _ -> distortion[index.mod_(distortion.size)] }
|
||||
bulgeSegments { index, _ -> distortion[index.mod(distortion.size)] }
|
||||
@@ -163,7 +163,7 @@ fun ShapeContour.arcCorners(lengths: List<Double>,
|
||||
|
||||
private class Ring<T>(private val x: List<T>) : List<T> by x {
|
||||
override operator fun get(index: Int): T {
|
||||
return x[index.mod_(x.size)]
|
||||
return x[index.mod(x.size)]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user