Home | History | Annotate | Download | only in replicaisland

Lines Matching refs:Vector2

58         Vector2 impulseVector = parentObject.getImpulse();
60 final Vector2 currentVelocity = parentObject.getVelocity();
62 final Vector2 surfaceNormal = parentObject.getBackgroundCollisionNormal();
75 Vector2 newVelocity = vectorPool.allocate(currentVelocity);
88 final Vector2 gravityVector = gravity.getGravity();
122 parentObject.setAcceleration(Vector2.ZERO);
123 parentObject.setImpulse(Vector2.ZERO);
129 protected void resolveCollision(Vector2 velocity, Vector2 impulse, Vector2 opposingNormal,
130 Vector2 outputImpulse) {
135 Vector2 collisionNormal = vectorPool.allocate(opposingNormal);
139 Vector2 relativeVelocity = vectorPool.allocate(velocity);
154 Vector2 entity1Adjust = vectorPool.allocate(collisionNormal);
169 protected void resolveCollision(Vector2 velocity, Vector2 impulse, Vector2 opposingNormal,
170 float otherMass, Vector2 otherVelocity, Vector2 otherImpulse,
171 float otherBounciness, Vector2 outputImpulse) {
174 Vector2 collisionNormal = vectorPool.allocate(opposingNormal);
177 Vector2 entity1Velocity = vectorPool.allocate(velocity);
180 Vector2 entity2Velocity = vectorPool.allocate(otherVelocity);
183 Vector2 relativeVelocity = vectorPool.allocate(entity1Velocity);
199 Vector2 entity1Adjust = vectorPool.allocate(collisionNormal);