Home
last modified time | relevance | path

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

/external/replicaisland/src/com/replica/replicaisland/
DCameraSystem.java28 private Vector2 mFocalPosition; field in CameraSystem
48 mFocalPosition = new Vector2(); in CameraSystem()
60 mFocalPosition.zero(); in reset()
154 mFocalPosition.x = (float) Math.floor(mCurrentCameraPosition.x); in update()
155 mFocalPosition.x = snapFocalPointToWorldBoundsX(mFocalPosition.x); in update()
157 mFocalPosition.y = (float) Math.floor(mCurrentCameraPosition.y + mShakeOffsetY); in update()
158 mFocalPosition.y = snapFocalPointToWorldBoundsY(mFocalPosition.y); in update()
163 return mFocalPosition.x; in getFocusPositionX()
168 return mFocalPosition.y; in getFocusPositionY()
175 if (Math.abs(mFocalPosition.x - point.x) < (width + radius)) { in pointVisible()
[all …]