Home
last modified time | relevance | path

Searched refs:orbitRadius (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DUniverse.kt62 private val orbitRadius: Float in <lambda>() constant
66 orbitRadius = pos.distance(orbitCenter) in <lambda>()
81 pos = orbitCenter + Vec2.makeWithAngleMag(orbitAngle, orbitRadius) in <lambda>()
142 val orbitRadius = in initTest() constant
145 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() constant
202 val period = sqrt(orbitRadius.pow(3f) / star.mass) * KEPLER_CONSTANT in initRandom()
203 val speed = 2f * PIf * orbitRadius / period in initRandom()
[all …]