com.bulletphysics.collision.dispatch
Class CollisionWorld.ClosestRayResultCallback
java.lang.Object
com.bulletphysics.collision.dispatch.CollisionWorld.RayResultCallback
com.bulletphysics.collision.dispatch.CollisionWorld.ClosestRayResultCallback
- Enclosing class:
- CollisionWorld
public static class CollisionWorld.ClosestRayResultCallback
- extends CollisionWorld.RayResultCallback
rayFromWorld
public final Vector3f rayFromWorld
rayToWorld
public final Vector3f rayToWorld
hitNormalWorld
public final Vector3f hitNormalWorld
hitPointWorld
public final Vector3f hitPointWorld
CollisionWorld.ClosestRayResultCallback
public CollisionWorld.ClosestRayResultCallback(Vector3f rayFromWorld,
Vector3f rayToWorld)
addSingleResult
public float addSingleResult(CollisionWorld.LocalRayResult rayResult,
boolean normalInWorldSpace)
- Specified by:
addSingleResult
in class CollisionWorld.RayResultCallback