Class BresenhamYUpGridTracer
java.lang.Object
com.jme3.terrain.geomipmap.picking.BresenhamYUpGridTracer
Works on the XZ plane, with positive Y as up.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
next()
void
setGridLocation
(Vector2f gridLocation) void
setGridOrigin
(Vector3f gridOrigin) void
setGridSpacing
(Vector3f gridSpacing) void
-
Field Details
-
gridOrigin
-
gridSpacing
-
gridLocation
-
rayLocation
-
walkRay
-
stepDirection
-
rayLength
protected float rayLength -
TOLERANCE
protected static float TOLERANCE
-
-
Constructor Details
-
BresenhamYUpGridTracer
public BresenhamYUpGridTracer()
-
-
Method Details
-
startWalk
-
next
public void next() -
getLastStepDirection
-
isRayPerpendicularToGrid
public boolean isRayPerpendicularToGrid() -
getGridLocation
-
getGridOrigin
-
getGridSpacing
-
setGridLocation
-
setGridOrigin
-
setGridSpacing
-