Searched refs:relativeVelocity (Results 1 – 1 of 1) sorted by relevance
139 Vector2 relativeVelocity = vectorPool.allocate(velocity); in resolveCollision() local140 relativeVelocity.add(impulse); in resolveCollision()142 final float dotRelativeAndNormal = relativeVelocity.dot(collisionNormal); in resolveCollision()166 vectorPool.release(relativeVelocity); in resolveCollision()183 Vector2 relativeVelocity = vectorPool.allocate(entity1Velocity); in resolveCollision() local184 relativeVelocity.subtract(entity2Velocity); in resolveCollision()186 final float dotRelativeAndNormal = relativeVelocity.dot(collisionNormal); in resolveCollision()222 vectorPool.release(relativeVelocity); in resolveCollision()