Home
last modified time | relevance | path

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

/external/replicaisland/src/com/replica/replicaisland/
DOrbitalMagnetComponent.java27 private Vector2 mVelocity; field in OrbitalMagnetComponent
36 mVelocity = new Vector2(); in OrbitalMagnetComponent()
46 mVelocity.zero(); in reset()
87 mVelocity.set(gravityVector); in applyMagnetism()
88 mVelocity.multiply(timeDelta); in applyMagnetism()
89 targetVelocity.subtract(mVelocity); in applyMagnetism()
104 mVelocity.set(mDelta); in applyMagnetism()
105 mVelocity.normalize(); in applyMagnetism()
109 mVelocity.multiply(mStrength); in applyMagnetism()
115 mVelocity.multiply(weight); in applyMagnetism()
[all …]
DGameObject.java31 private Vector2 mVelocity; field in GameObject
83 mVelocity = new Vector2(); in GameObject()
100 mVelocity.zero(); in reset()
169 return mVelocity; in getVelocity()
173 mVelocity.set(velocity); in setVelocity()