Searched refs:angleStep (Results 1 – 1 of 1) sorted by relevance
27 val angleStep = PI2f / sides in <lambda>() constant29 lineTo(radius * cos(angleStep * i), radius * sin(angleStep * i)) in <lambda>()36 val angleStep = PI2f / sides in createPolygonPoints() constant38 Vec2(radius * cos(angleStep * i), radius * sin(angleStep * i)) in createPolygonPoints()44 val angleStep = PI2f / points in createStar() constant46 lineTo(radius2 * cos(angleStep * (0.5f)), radius2 * sin(angleStep * (0.5f))) in createStar()48 lineTo(radius1 * cos(angleStep * i), radius1 * sin(angleStep * i)) in createStar()49 lineTo(radius2 * cos(angleStep * (i + 0.5f)), radius2 * sin(angleStep * (i + 0.5f))) in createStar()