Interface TerrainPicker
- All Known Implementing Classes:
BresenhamTerrainPicker
public interface TerrainPicker
Pick the location on the terrain from a given ray.
-
Method Summary
Modifier and TypeMethodDescriptionint
getTerrainIntersection
(Ray worldPick, CollisionResults results) Ask for the point of intersection between the given ray and the terrain.
-
Method Details
-
getTerrainIntersection
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
-