Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/core/com/jme3/collision/
DCollisionResult.java50 private Vector3f contactPoint; field in CollisionResult
55 …public CollisionResult(Geometry geometry, Vector3f contactPoint, float distance, int triangleIndex… in CollisionResult() argument
57 this.contactPoint = contactPoint; in CollisionResult()
62 public CollisionResult(Vector3f contactPoint, float distance) { in CollisionResult() argument
63 this.contactPoint = contactPoint; in CollisionResult()
79 this.contactPoint = point; in setContactPoint()
119 return contactPoint; in getContactPoint()
DSweepSphere.java256 Vector3f contactPoint = new Vector3f(); in collideWithTriangle() local
262 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 …]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/util/
DEntropyComputeUtil.java62 Vector3f contactPoint = results.getClosestCollision().getContactPoint(); in computeLodEntropy() local
63 float delta = Math.abs(realHeight - contactPoint.y); in computeLodEntropy()
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/
DBIHNode.java284 … Vector3f contactPoint = new Vector3f(r.direction).multLocal(tHit).addLocal(r.origin); in intersectBrute() local
285 CollisionResult cr = new CollisionResult(contactPoint, tHit); in intersectBrute()
413 Vector3f contactPoint = new Vector3f(d).multLocal(t).addLocal(o); in intersectWhere() local
414 float worldSpaceDist = o.distance(contactPoint); in intersectWhere()
416 CollisionResult cr = new CollisionResult(contactPoint, worldSpaceDist); in intersectWhere()
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DOctnode.java299 … Vector3f contactPoint = new Vector3f(r.getDirection()).multLocal(d).addLocal(r.getOrigin()); in intersectWhere() local
301 contactPoint, in intersectWhere()