mirror of
https://github.com/Relintai/godot_voxel.git
synced 2025-01-09 04:59:40 +01:00
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 "../../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
|
||||
|
@ -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 {
|
||||
|
@ -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 },
|
Loading…
Reference in New Issue
Block a user