Searched refs:mass (Results 1 – 6 of 6) sorted by relevance
67 mass = 4 / 3 * PIf * radius.pow(3) * PLANETARY_DENSITY in <lambda>()111 mass = 4 / 3 * PIf * radius.pow(3) * STELLAR_DENSITY145 val period = sqrt(orbitRadius.pow(3f) / star.mass) * KEPLER_CONSTANT in initTest()202 val period = sqrt(orbitRadius.pow(3f) / star.mass) * KEPLER_CONSTANT in initRandom()259 GRAVITATION * (ship.mass * planet.mass) / d.pow(2) in updateAll()391 mass: Float = 0f,407 this.mass = mass445 mass = SPACECRAFT_MASS498 mass = 1f, in postUpdate()
57 var mass = 0f variable in com.android.egg.landroid.Body
267 " MASS: %.3g".format(mass), in Telemetry()550 val vorbit = sqrt(GRAVITATION * it.mass / range) in Spaaaace()551 val vescape = sqrt(2 * GRAVITATION * it.mass / it.radius) in Spaaaace()
116 val r = sqrt(GRAVITATION * planet.mass * SPACECRAFT_MASS / force) in ZoomedDrawScope()
59 float4 mass = rsGetElementAt_float4(positions, i);60 float3 dir = mass.xyz - in.xyz;61 float dist = distance(mass.xyz, in.xyz);65 force += dir * (mass.w * invDistCubed);
351 float mass = 10.f; in doPhysics() local358 … totalForce[0] = -mPos[0] * springStrength - mVel[0]*frictionCoeff + gMultiplier*mGForce[0]*mass; in doPhysics()359 … totalForce[1] = -mPos[1] * springStrength - mVel[1]*frictionCoeff + gMultiplier*mGForce[1]*mass; in doPhysics()360 … totalForce[2] = -mPos[2] * springStrength - mVel[2]*frictionCoeff + gMultiplier*mGForce[2]*mass; in doPhysics()363 accel[0] = totalForce[0]/mass; in doPhysics()364 accel[1] = totalForce[1]/mass; in doPhysics()365 accel[2] = totalForce[2]/mass; in doPhysics()