Interface TerrainPicker

All Known Implementing Classes:
BresenhamTerrainPicker

public interface TerrainPicker
Pick the location on the terrain from a given ray.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Ask for the point of intersection between the given ray and the terrain.
  • Method Details

    • getTerrainIntersection

      int getTerrainIntersection(Ray worldPick, CollisionResults results)
      Ask for the point of intersection between the given ray and the terrain.
      Parameters:
      worldPick - our pick ray, in world space.
      Returns:
      The number of collisions found