OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:closestPoint
(Results
1 - 4
of
4
) sorted by null
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
btSphereBoxCollisionAlgorithm.cpp
113
btVector3
closestPoint
= sphereRelPos;
114
closestPoint
.setX( btMin(boxHalfExtent.getX(),
closestPoint
.getX()) );
115
closestPoint
.setX( btMax(-boxHalfExtent.getX(),
closestPoint
.getX()) );
116
closestPoint
.setY( btMin(boxHalfExtent.getY(),
closestPoint
.getY()) );
117
closestPoint
.setY( btMax(-boxHalfExtent.getY(),
closestPoint
.getY()) );
118
closestPoint
.setZ( btMin(boxHalfExtent.getZ(), closestPoint.getZ()) )
[
all
...]
btSphereBoxCollisionAlgorithm.h
55
btScalar getSpherePenetration( btVector3 const &boxHalfExtent, btVector3 const &sphereRelPos, btVector3 &
closestPoint
, btVector3& normal );
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/
btSphereBoxCollisionAlgorithm.java
69
public float getSpherePenetration(Vector3 boxHalfExtent, Vector3 sphereRelPos, Vector3
closestPoint
, Vector3 normal) {
70
return CollisionJNI.btSphereBoxCollisionAlgorithm_getSpherePenetration(swigCPtr, this, boxHalfExtent, sphereRelPos,
closestPoint
, normal);
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/
Distance.java
605
private Vec2
closestPoint
= new Vec2();
640
simplex.getClosestPoint(
closestPoint
);
641
float distanceSqr1 =
closestPoint
.lengthSquared();
674
simplex.getClosestPoint(
closestPoint
);
675
distanceSqr2 =
closestPoint
.lengthSquared();
Completed in 252 milliseconds