Searched refs:makeWithAngleMag (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/ |
D | Universe.kt | 73 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 …]
|
D | Autopilot.kt | 73 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>()
|
D | Vec2.kt | 54 fun Offset.Companion.makeWithAngleMag(a: Float, m: Float): Vec2 { in makeWithAngleMag() method
|
D | DreamUniverse.kt | 75 Vec2.makeWithAngleMag( in onAttachedToWindow()
|
D | Physics.kt | 117 Vec2.makeWithAngleMag(p.pos.angle(), radius - p.radius) * (1f - softness) in solve()
|
D | MainActivity.kt | 344 Vec2.makeWithAngleMag( in onCreate() 450 end = origin.value + Vec2.makeWithAngleMag(a, mag), in FlightStick()
|
D | VisibleUniverse.kt | 270 val v = landing.planet.pos + Vec2.makeWithAngleMag(landing.angle, landing.planet.radius) in ZoomedDrawScope()
|