All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jbox2d.callbacks.ParticleRaycastCallback Maven / Gradle / Ivy

package org.jbox2d.callbacks;

import org.jbox2d.common.Vec2;

public interface ParticleRaycastCallback {
  /**
   * Called for each particle found in the query. See
   * {@link RayCastCallback#reportFixture(org.jbox2d.dynamics.Fixture, Vec2, Vec2, float)} for
   * argument info.
   * 
   * @param index
   * @param point
   * @param normal
   * @param fraction
   * @return
   */
  float reportParticle(int index, Vec2 point, Vec2 normal, float fraction);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy