Searched refs:PI2f (Results 1 – 5 of 5) sorted by relevance
27 val angleStep = PI2f / sides in <lambda>()36 val angleStep = PI2f / sides in createPolygonPoints()44 val angleStep = PI2f / points in createStar()
152 pos = star.pos + Vec2.makeWithAngleMag(thisPlanetFrac * PI2f, orbitRadius), in initTest()209 pos = star.pos + Vec2.makeWithAngleMag(rng.nextFloat() * PI2f, orbitRadius), in initRandom()230 rng.nextFloat() * PI2f, in initRandom()233 ship.angle = rng.nextFloat() * PI2f in initRandom()
154 rotateRad(radians = star.anim / 23f * PI2f, pivot = Vec2.Zero) { in drawStar()170 rotateRad(radians = star.anim / -19f * PI2f, pivot = Vec2.Zero) { in drawStar()340 rotateRad(autopilot.universe.now * PI2f / 10f, target.pos) { in ZoomedDrawScope()
26 const val PI2f = (2 * PI).toFloat() constant
76 Random.nextFloat() * PI2f, in onAttachedToWindow()