Crate dotrix_terrain[][src]

Dotrix terrain implementation

This crate is under active development

Modules

octree

Octree implementation to store voxel maps

Structs

Block

Terrain block component

Instance

Chunk instance of the terrain

Lod

Level of details identified by number

MarchingCubes

Marching cubes implementation

Spawner

Terrain spawn system context

Terrain

Service for terrain management

Vertex

Voxel Vertex structure

Voxel

Voxel structure

VoxelMap

Voxel Map contains density values for 16x16x16 voxel chunk

Constants

CASE_TO_NUMPOLY

Marching cubes cases

EDGE_CONNECT_LIST

Polygons connections

VERTEX_INDICES

Vertex indices for edges

Functions

service

Returns default Terrain service

spawn

System to spawn the terrain