Home
last modified time | relevance | path

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

/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DUniverse.kt73 velocity = Vec2.makeWithAngleMag(orbitAngle + PIf / 2f, speed) in <lambda>()
81 pos = orbitCenter + Vec2.makeWithAngleMag(orbitAngle, orbitRadius) in <lambda>()
152 pos = star.pos + Vec2.makeWithAngleMag(thisPlanetFrac * PI2f, orbitRadius), in initTest()
209 pos = star.pos + Vec2.makeWithAngleMag(rng.nextFloat() * PI2f, orbitRadius), in initRandom()
229 Vec2.makeWithAngleMag( in initRandom()
257 Vec2.makeWithAngleMag( in updateAll()
305 val impact = planet.pos + Vec2.makeWithAngleMag(a, planet.radius) in solveAll()
307 planet.pos + Vec2.makeWithAngleMag(a, planet.radius + ship.radius - d) in solveAll()
330 Vec2.makeWithAngleMag( in solveAll()
337 Vec2.makeWithAngleMag( in solveAll()
[all …]
DAutopilot.kt73 ship.thrust = Vec2.makeWithAngleMag(ship.angle, 1f) in <lambda>()
120 Vec2.makeWithAngleMag( in <lambda>()
138 ship.thrust = Vec2.makeWithAngleMag(ship.angle, 1.0f) in <lambda>()
151 ship.thrust = Vec2.makeWithAngleMag(ship.angle, decelThrust) in <lambda>()
DVec2.kt54 fun Offset.Companion.makeWithAngleMag(a: Float, m: Float): Vec2 { in makeWithAngleMag() method
DDreamUniverse.kt75 Vec2.makeWithAngleMag( in onAttachedToWindow()
DPhysics.kt117 Vec2.makeWithAngleMag(p.pos.angle(), radius - p.radius) * (1f - softness) in solve()
DMainActivity.kt344 Vec2.makeWithAngleMag( in onCreate()
450 end = origin.value + Vec2.makeWithAngleMag(a, mag), in FlightStick()
DVisibleUniverse.kt270 val v = landing.planet.pos + Vec2.makeWithAngleMag(landing.angle, landing.planet.radius) in ZoomedDrawScope()