Home
last modified time | relevance | path

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

/external/replicaisland/src/com/replica/replicaisland/
DCameraSystem.java31 private Vector2 mBias; field in CameraSystem
51 mBias = new Vector2(); in CameraSystem()
129 if (mBias.length2() > 0.0f && mTarget.getVelocity().length2() > 1.0f) { in update()
130 mBias.normalize(); in update()
131 mBias.multiply(BIAS_SPEED * timeDelta); in update()
132 mCurrentCameraPosition.add(mBias); in update()
150 mBias.zero(); in update()
234 final float biasX = mBias.x; in addCameraBias()
235 final float biasY = mBias.y; in addCameraBias()
236 mBias.set(x, y); in addCameraBias()
[all …]