Moved ObjectPool to util/ and moved OctreeTables to root
This commit is contained in:
parent
66d4a913bd
commit
7c6d4f3242
@ -1,8 +1,8 @@
|
|||||||
#include "voxel_mesher_dmc.h"
|
#include "voxel_mesher_dmc.h"
|
||||||
#include "../../cube_tables.h"
|
#include "../../cube_tables.h"
|
||||||
|
#include "../../octree_tables.h"
|
||||||
#include "marching_cubes_tables.h"
|
#include "marching_cubes_tables.h"
|
||||||
#include "mesh_builder.h"
|
#include "mesh_builder.h"
|
||||||
#include "octree_tables.h"
|
|
||||||
#include <core/os/os.h>
|
#include <core/os/os.h>
|
||||||
|
|
||||||
// Dual marching cubes
|
// Dual marching cubes
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#ifndef VOXEL_MESHER_DMC_H
|
#ifndef VOXEL_MESHER_DMC_H
|
||||||
#define VOXEL_MESHER_DMC_H
|
#define VOXEL_MESHER_DMC_H
|
||||||
|
|
||||||
|
#include "../../util/object_pool.h"
|
||||||
#include "../voxel_mesher.h"
|
#include "../voxel_mesher.h"
|
||||||
#include "hermite_value.h"
|
#include "hermite_value.h"
|
||||||
#include "mesh_builder.h"
|
#include "mesh_builder.h"
|
||||||
#include "object_pool.h"
|
|
||||||
#include <scene/resources/mesh.h>
|
#include <scene/resources/mesh.h>
|
||||||
|
|
||||||
namespace dmc {
|
namespace dmc {
|
||||||
|
@ -27,6 +27,7 @@ namespace OctreeTables {
|
|||||||
// |/ |/ |/ |/
|
// |/ |/ |/ |/
|
||||||
// 1---------------8---------------0 X----o
|
// 1---------------8---------------0 X----o
|
||||||
|
|
||||||
|
// The order is important for some algorithms (DMC)
|
||||||
const int g_octant_position[8][3]{
|
const int g_octant_position[8][3]{
|
||||||
|
|
||||||
{ 0, 0, 0 },
|
{ 0, 0, 0 },
|
Loading…
x
Reference in New Issue
Block a user