needed to used addMeshCube from proper namespace

This commit is contained in:
Harvey Fong 2025-04-13 20:04:14 -06:00
parent 5fa5b1968c
commit c442756d3b
3 changed files with 10 additions and 3 deletions

View File

@ -1,2 +1,11 @@
# oom
single header wrappers I use in my personal projects
```
oom_bella_long.h // bella large size utilities
oom_bella_scene.h // bella scene utilities
oom_license.h // license
oom_misc.h // misc utilities
oom_voxel_ogt.h // open game tools voxel conversion
oom_voxel_vmax.h // vmax voxel conversion
```

View File

@ -4,7 +4,6 @@
#include "../bella_scene_sdk/src/bella_sdk/bella_scene.h" // For creating and manipulating 3D scenes in Bella
//#include "../bella_scene_sdk/src/dl_core/dl_main.inl" // Core functionality from the Diffuse Logic engine
void addMeshCube(dl::bella_sdk::Node& belMeshVoxel);
// Now define the oomer namespace with using declarations for all functions/classes
namespace oom {
namespace bella {

View File

@ -84,8 +84,7 @@ namespace oom {
belBevel["radius"] = 90.0f;
belBevel["samples"] =dl::UInt(6);
//#include "resources/smoothcube.h"
addMeshCube(belMeshVoxel);
oom::bella::addMeshCube(belMeshVoxel);
// Configure voxel box dimensions
belVoxel["radius"] = 0.33f;
belVoxel["sizeX"] = 0.99f;