Package com.ardorcraft.voxel
Class MeshVoxelationContext
java.lang.Object
com.ardorcraft.voxel.VoxelationContext
com.ardorcraft.voxel.MeshVoxelationContext
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
static class
class
-
Field Summary
Fields inherited from class com.ardorcraft.voxel.VoxelationContext
center, extent, listener, voxelSize
-
Constructor Summary
ConstructorDescriptionMeshVoxelationContext
(ReadOnlyVector3 center, ReadOnlyVector3 voxelSize, int[] sectionCount, int[] sectionVoxelCount) -
Method Summary
Methods inherited from class com.ardorcraft.voxel.VoxelationContext
addSpace, addVoxel, positionToVoxel, voxelToPosition, voxelToPosition, voxelToPosition
-
Field Details
-
mesh
-
triangle
-
transform
-
_sectionVoxelCount
public int[] _sectionVoxelCount -
_sectionCount
public int[] _sectionCount -
EDGE_EPSILON
public float EDGE_EPSILON -
sections
-
-
Constructor Details
-
MeshVoxelationContext
public MeshVoxelationContext(ReadOnlyVector3 center, ReadOnlyVector3 voxelSize, int[] sectionCount, int[] sectionVoxelCount)
-
-
Method Details
-
init
public void init()- Specified by:
init
in classVoxelationContext
-
clearVoxelArea
public void clearVoxelArea()
-