Home
last modified time | relevance | path

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

/external/replicaisland/src/com/replica/replicaisland/
DPhysicsComponent.java142 final float dotRelativeAndNormal = relativeVelocity.dot(collisionNormal); in resolveCollision() local
145 if (dotRelativeAndNormal < 0.0f) { in resolveCollision()
150 float j = (-(1 + coefficientOfRestitution) * dotRelativeAndNormal); in resolveCollision()
186 final float dotRelativeAndNormal = relativeVelocity.dot(collisionNormal); in resolveCollision() local
189 if (dotRelativeAndNormal < 0.0f) { in resolveCollision()
195 float j = (-(1 + coefficientOfRestitution) * dotRelativeAndNormal); in resolveCollision()