needed to used addMeshCube from proper namespace
This commit is contained in:
parent
5fa5b1968c
commit
c442756d3b
@ -1,2 +1,11 @@
|
|||||||
# oom
|
# oom
|
||||||
single header wrappers I use in my personal projects
|
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
|
||||||
|
```
|
||||||
@ -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/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
|
//#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
|
// Now define the oomer namespace with using declarations for all functions/classes
|
||||||
namespace oom {
|
namespace oom {
|
||||||
namespace bella {
|
namespace bella {
|
||||||
|
|||||||
@ -84,8 +84,7 @@ namespace oom {
|
|||||||
belBevel["radius"] = 90.0f;
|
belBevel["radius"] = 90.0f;
|
||||||
belBevel["samples"] =dl::UInt(6);
|
belBevel["samples"] =dl::UInt(6);
|
||||||
|
|
||||||
//#include "resources/smoothcube.h"
|
oom::bella::addMeshCube(belMeshVoxel);
|
||||||
addMeshCube(belMeshVoxel);
|
|
||||||
// Configure voxel box dimensions
|
// Configure voxel box dimensions
|
||||||
belVoxel["radius"] = 0.33f;
|
belVoxel["radius"] = 0.33f;
|
||||||
belVoxel["sizeX"] = 0.99f;
|
belVoxel["sizeX"] = 0.99f;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user