set method

void set(
  1. Vector3 rayFromWorld,
  2. Vector3 rayToWorld,
  3. Vector3 hitNormalWorld,
  4. Vector3 hitPointWorld,
  5. Shape shape,
  6. Body body,
  7. double distance,
)

Set result data.

Implementation

void set(
  Vector3 rayFromWorld,
  Vector3 rayToWorld,
  Vector3 hitNormalWorld,
  Vector3 hitPointWorld,
  Shape shape,
  Body body,
  double distance
){
  this.rayFromWorld.setFrom(rayFromWorld);
  this.rayToWorld.setFrom(rayToWorld);
  this.hitNormalWorld.setFrom(hitNormalWorld);
  this.hitPointWorld.setFrom(hitPointWorld);
  this.shape = shape;
  this.body = body;
  this.distance = distance;
}