Lines Matching defs:mCurrentPosition
34 private Vector2 mCurrentPosition;
65 mCurrentPosition = new Vector2();
84 mCurrentPosition = new Vector2();
149 mCurrentPosition.set(parentObject.getPosition());
150 mDelta.set(mCurrentPosition);
169 horizontalHit = sweepHorizontal(mPreviousCenter, mCurrentPosition, mDelta, left,
172 verticalHit = sweepVertical(mPreviousCenter, mCurrentPosition, mDelta, bottom,
177 verticalHit = sweepVertical(mPreviousCenter, mCurrentPosition, mDelta, bottom,
180 horizontalHit = sweepHorizontal(mPreviousCenter, mCurrentPosition, mDelta, left,
188 if (mCurrentPosition.x + left < 0.0f) {
189 mCurrentPosition.x = (-left + 1);
193 } else if (mCurrentPosition.x + right > level.getLevelWidth()) {
194 mCurrentPosition.x = (level.getLevelWidth() - right - 1);
200 /*if (mCurrentPosition.y + bottom < 0.0f) {
201 mCurrentPosition.y = (-bottom + 1);
205 } else*/ if (mCurrentPosition.y + top > level.getLevelHeight()) {
206 mCurrentPosition.y = (level.getLevelHeight() - top - 1);
227 mRayStart.add(mCurrentPosition);
230 mRayEnd.add(mCurrentPosition);
242 mCurrentPosition.y = (mVerticalHitPoint.y - bottom);
244 mCurrentPosition.y = (mVerticalHitPoint.y - top);
259 mRayStart.add(mCurrentPosition);
262 mRayEnd.add(mCurrentPosition);
274 mCurrentPosition.x = (mHorizontalHitPoint.x - left);
276 mCurrentPosition.x = (mHorizontalHitPoint.x - right);
315 parentObject.setPosition(mCurrentPosition);