Added enabling and disabling of the octree from the settings buffer
This commit is contained in:
@@ -35,6 +35,10 @@ bool Application::init_clcaster() {
|
||||
|
||||
raycaster->add_to_settings_buffer("octree_dimensions", "OCTDIM", (int64_t*)&MAP_X);
|
||||
|
||||
// TODO: ALLOW RVALUES FOR SETTINGS BUFFER
|
||||
int64_t oct_enabled = 0;
|
||||
raycaster->add_to_settings_buffer("using_octree", "OCTENABLED", &oct_enabled);
|
||||
|
||||
map = std::make_shared<Map>(MAP_X);
|
||||
|
||||
// TODO: Implement this
|
||||
|
||||
Reference in New Issue
Block a user