Refactor HDMap configuration - add shaders, perspectives
This commit is contained in:
parent
7e5865a899
commit
69baafe597
19 changed files with 1375 additions and 769 deletions
|
|
@ -3,6 +3,15 @@ package org.dynmap.hdmap;
|
|||
import org.dynmap.utils.Vector3D;
|
||||
|
||||
public interface HDPerspectiveState {
|
||||
/* Represents last step of movement of the ray */
|
||||
public enum BlockStep {
|
||||
X_PLUS,
|
||||
Y_PLUS,
|
||||
Z_PLUS,
|
||||
X_MINUS,
|
||||
Y_MINUS,
|
||||
Z_MINUS
|
||||
};
|
||||
/**
|
||||
* Get sky light level - only available if shader requested it
|
||||
*/
|
||||
|
|
@ -22,7 +31,7 @@ public interface HDPerspectiveState {
|
|||
/**
|
||||
* Get direction of last block step
|
||||
*/
|
||||
HDMap.BlockStep getLastBlockStep();
|
||||
BlockStep getLastBlockStep();
|
||||
/**
|
||||
* Get perspective scale
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue