public class BresenhamYUpGridTracer
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BresenhamYUpGridTracer.Direction |
| Modifier and Type | Field and Description |
|---|---|
protected com.jme3.math.Vector2f |
gridLocation |
protected com.jme3.math.Vector3f |
gridOrigin |
protected com.jme3.math.Vector3f |
gridSpacing |
protected float |
rayLength |
protected com.jme3.math.Vector3f |
rayLocation |
protected BresenhamYUpGridTracer.Direction |
stepDirection |
protected static float |
TOLERANCE |
protected com.jme3.math.Ray |
walkRay |
| Constructor and Description |
|---|
BresenhamYUpGridTracer() |
| Modifier and Type | Method and Description |
|---|---|
com.jme3.math.Vector2f |
getGridLocation() |
com.jme3.math.Vector3f |
getGridOrigin() |
com.jme3.math.Vector3f |
getGridSpacing() |
BresenhamYUpGridTracer.Direction |
getLastStepDirection() |
boolean |
isRayPerpendicularToGrid() |
void |
next() |
void |
setGridLocation(com.jme3.math.Vector2f gridLocation) |
void |
setGridOrigin(com.jme3.math.Vector3f gridOrigin) |
void |
setGridSpacing(com.jme3.math.Vector3f gridSpacing) |
void |
startWalk(com.jme3.math.Ray walkRay) |
protected com.jme3.math.Vector3f gridOrigin
protected com.jme3.math.Vector3f gridSpacing
protected com.jme3.math.Vector2f gridLocation
protected com.jme3.math.Vector3f rayLocation
protected com.jme3.math.Ray walkRay
protected BresenhamYUpGridTracer.Direction stepDirection
protected float rayLength
protected static float TOLERANCE
public void startWalk(com.jme3.math.Ray walkRay)
public void next()
public BresenhamYUpGridTracer.Direction getLastStepDirection()
public boolean isRayPerpendicularToGrid()
public com.jme3.math.Vector2f getGridLocation()
public com.jme3.math.Vector3f getGridOrigin()
public com.jme3.math.Vector3f getGridSpacing()
public void setGridLocation(com.jme3.math.Vector2f gridLocation)
public void setGridOrigin(com.jme3.math.Vector3f gridOrigin)
public void setGridSpacing(com.jme3.math.Vector3f gridSpacing)