leshchenko/CircularLayoutManager

@leshchenko Is this part correct?

Closed this issue · 0 comments

@leshchenko Is this part correct?

val xCoordinate = (radius * sinAngle(angle)) + centerPoint.x
val yCoordinate = (radius * cosAngle(angle)) + centerPoint.y

I did some searching and it seems that your x & y calculations should be switched:
https://math.stackexchange.com/a/854287
image

Originally posted by @Glennmen in #4 (comment)