#include "register_types.h" #include "meshers/blocky/voxel_mesher_blocky.h" #include "meshers/dmc/voxel_mesher_dmc.h" #include "meshers/transvoxel/voxel_mesher_transvoxel.h" #include "streams/voxel_stream_block_files.h" #include "streams/voxel_stream_file.h" #include "streams/voxel_stream_image.h" #include "streams/voxel_stream_noise.h" #include "streams/voxel_stream_region_files.h" #include "streams/voxel_stream_test.h" #include "terrain/voxel_box_mover.h" #include "terrain/voxel_lod_terrain.h" #include "terrain/voxel_map.h" #include "terrain/voxel_terrain.h" #include "voxel_buffer.h" #include "voxel_isosurface_tool.h" #include "voxel_library.h" void register_voxel_types() { // Storage ClassDB::register_class(); ClassDB::register_class(); // Voxel types ClassDB::register_class(); ClassDB::register_class(); // Nodes ClassDB::register_class(); ClassDB::register_class(); // Streams ClassDB::register_class(); ClassDB::register_class(); ClassDB::register_class(); ClassDB::register_class(); ClassDB::register_class(); ClassDB::register_class(); ClassDB::register_class(); // Helpers ClassDB::register_class(); ClassDB::register_class(); // Meshers ClassDB::register_class(); ClassDB::register_class(); ClassDB::register_class(); ClassDB::register_class(); #ifdef TOOLS_ENABLED VoxelDebug::create_debug_box_mesh(); #endif } void unregister_voxel_types() { #ifdef TOOLS_ENABLED VoxelDebug::free_debug_box_mesh(); #endif }