Searched refs:contactPoint (Results 1 – 5 of 5) sorted by relevance
50 private Vector3f contactPoint; field in CollisionResult55 …public CollisionResult(Geometry geometry, Vector3f contactPoint, float distance, int triangleIndex… in CollisionResult() argument57 this.contactPoint = contactPoint; in CollisionResult()62 public CollisionResult(Vector3f contactPoint, float distance) { in CollisionResult() argument63 this.contactPoint = contactPoint; in CollisionResult()79 this.contactPoint = point; in setContactPoint()119 return contactPoint; in getContactPoint()
256 Vector3f contactPoint = new Vector3f(); in collideWithTriangle() local262 contactPoint.set(sVelocity); in collideWithTriangle()263 contactPoint.multLocal(t0); in collideWithTriangle()264 contactPoint.addLocal(sCenter); in collideWithTriangle()265 contactPoint.subtractLocal(triPlane.getNormal()); in collideWithTriangle()268 if (isPointInTriangle(contactPoint, scaledTri) && !embedded){ in collideWithTriangle()274 contactPoint.multLocal(dimension); in collideWithTriangle()277 contactNormal.subtractLocal(contactPoint).normalizeLocal(); in collideWithTriangle()282 result.setContactPoint(contactPoint); in collideWithTriangle()300 contactPoint.set(v1); in collideWithTriangle()[all …]
62 Vector3f contactPoint = results.getClosestCollision().getContactPoint(); in computeLodEntropy() local63 float delta = Math.abs(realHeight - contactPoint.y); in computeLodEntropy()
284 … Vector3f contactPoint = new Vector3f(r.direction).multLocal(tHit).addLocal(r.origin); in intersectBrute() local285 CollisionResult cr = new CollisionResult(contactPoint, tHit); in intersectBrute()413 Vector3f contactPoint = new Vector3f(d).multLocal(t).addLocal(o); in intersectWhere() local414 float worldSpaceDist = o.distance(contactPoint); in intersectWhere()416 CollisionResult cr = new CollisionResult(contactPoint, worldSpaceDist); in intersectWhere()
299 … Vector3f contactPoint = new Vector3f(r.getDirection()).multLocal(d).addLocal(r.getOrigin()); in intersectWhere() local301 contactPoint, in intersectWhere()