Moved ObjectPool to util/ and moved OctreeTables to root

This commit is contained in:
Marc Gilleron 2019-04-29 21:31:08 +01:00
parent 66d4a913bd
commit 7c6d4f3242
4 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,8 @@
#include "voxel_mesher_dmc.h"
#include "../../cube_tables.h"
#include "../../octree_tables.h"
#include "marching_cubes_tables.h"
#include "mesh_builder.h"
#include "octree_tables.h"
#include <core/os/os.h>
// Dual marching cubes

View File

@ -1,10 +1,10 @@
#ifndef VOXEL_MESHER_DMC_H
#define VOXEL_MESHER_DMC_H
#include "../../util/object_pool.h"
#include "../voxel_mesher.h"
#include "hermite_value.h"
#include "mesh_builder.h"
#include "object_pool.h"
#include <scene/resources/mesh.h>
namespace dmc {

View File

@ -27,6 +27,7 @@ namespace OctreeTables {
// |/ |/ |/ |/
// 1---------------8---------------0 X----o
// The order is important for some algorithms (DMC)
const int g_octant_position[8][3]{
{ 0, 0, 0 },