Package com.ardorcraft.voxel
Class VoxelationContext
java.lang.Object
com.ardorcraft.voxel.VoxelationContext
- Direct Known Subclasses:
MeshVoxelationContext
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSpace
(int[] section, int[] voxel) void
addVoxel
(int[] section, int[] voxel) abstract void
init()
void
positionToVoxel
(ReadOnlyVector3 pos, Voxel store) void
voxelToPosition
(int[] voxel, Vector3 store) void
voxelToPosition
(int x, int y, int z, Vector3 store) void
voxelToPosition
(Voxel voxel, Vector3 store)
-
Field Details
-
center
-
voxelSize
-
extent
public int[] extent -
listener
-
-
Constructor Details
-
VoxelationContext
-
-
Method Details
-
init
public abstract void init() -
positionToVoxel
-
voxelToPosition
-
voxelToPosition
-
voxelToPosition
-
addVoxel
public void addVoxel(int[] section, int[] voxel) -
addSpace
public void addSpace(int[] section, int[] voxel)
-