Add getters for the current main line block.

This commit is contained in:
asofold 2015-07-18 20:48:34 +02:00
parent 705170f80c
commit 6e68278245

View File

@ -393,6 +393,30 @@ public abstract class RayTracing {
this.maxSteps = maxSteps;
}
/**
* Current block coordinate (main line).
* @return
*/
public int getBlockX() {
return blockX;
}
/**
* Current block coordinate (main line).
* @return
*/
public int getBlockY() {
return blockY;
}
/**
* Current block coordinate (main line).
* @return
*/
public int getBlockZ() {
return blockZ;
}
/**
* One step in the loop.
*