Searched refs:orbitRadius (Results 1 – 1 of 1) sorted by relevance
62 private val orbitRadius: Float in <lambda>() constant66 orbitRadius = pos.distance(orbitCenter) in <lambda>()81 pos = orbitCenter + Vec2.makeWithAngleMag(orbitAngle, orbitRadius) in <lambda>()142 val orbitRadius = in initTest() constant145 val period = sqrt(orbitRadius.pow(3f) / star.mass) * KEPLER_CONSTANT in initTest()146 val speed = 2f * PIf * orbitRadius / period in initTest()152 pos = star.pos + Vec2.makeWithAngleMag(thisPlanetFrac * PI2f, orbitRadius), in initTest()194 val orbitRadius = in initRandom() constant202 val period = sqrt(orbitRadius.pow(3f) / star.mass) * KEPLER_CONSTANT in initRandom()203 val speed = 2f * PIf * orbitRadius / period in initRandom()[all …]