Searched refs:PIf (Results 1 – 2 of 2) sorted by relevance
67 mass = 4 / 3 * PIf * radius.pow(3) * PLANETARY_DENSITY in <lambda>()73 velocity = Vec2.makeWithAngleMag(orbitAngle + PIf / 2f, speed) in <lambda>()111 mass = 4 / 3 * PIf * radius.pow(3) * STELLAR_DENSITY146 val speed = 2f * PIf * orbitRadius / period in initTest()203 val speed = 2f * PIf * orbitRadius / period in initRandom()293 if (aDiff < PIf / 4 in solveAll()331 rng.nextFloatInRange(0f, 2 * PIf), in solveAll()340 rng.nextFloatInRange(0f, 2 * PIf), in solveAll()
25 const val PIf = PI.toFloat() constant