Fix includes

This commit is contained in:
Marc Gilleron 2018-09-19 20:25:04 +01:00
parent 7319fa1c56
commit a0026dbbeb
13 changed files with 17 additions and 17 deletions

View File

@ -1,7 +1,7 @@
#ifndef CUBE_TABLES_H
#define CUBE_TABLES_H
#include <vector3.h>
#include <core/math/vector3.h>
#include "vector3i.h"
#include "voxel.h"

View File

@ -1,7 +1,7 @@
#ifndef VOXEL_TYPE_H
#define VOXEL_TYPE_H
#include <resource.h>
#include <core/resource.h>
class VoxelLibrary;

View File

@ -1,5 +1,5 @@
#include "voxel_buffer.h"
#include <math_funcs.h>
#include <core/math/math_funcs.h>
#include <string.h>
VoxelBuffer::VoxelBuffer() {

View File

@ -2,8 +2,8 @@
#define VOXEL_BUFFER_H
#include "vector3i.h"
#include <reference.h>
#include <vector.h>
#include <core/reference.h>
#include <core/vector.h>
// Dense voxels data storage.
// Organized in 8-bit channels like images, all optional.

View File

@ -2,7 +2,7 @@
#define VOXEL_LIBRARY_H
#include "voxel.h"
#include <resource.h>
#include <core/resource.h>
class VoxelLibrary : public Resource {
GDCLASS(VoxelLibrary, Resource)

View File

@ -5,7 +5,7 @@
#include "voxel_buffer.h"
#include "voxel_library.h"
#include "zprofiling.h"
#include <reference.h>
#include <core/reference.h>
#include <scene/resources/mesh.h>
// TODO Should be renamed VoxelMesherCubic or something like that

View File

@ -1,7 +1,7 @@
#include "voxel_mesher_smooth.h"
#include "transvoxel_tables.cpp"
#include <os/os.h>
#include <core/os/os.h>
inline float tof(int8_t v) {
return static_cast<float>(v) / 256.f;

View File

@ -1,7 +1,7 @@
#ifndef VOXEL_PROVIDER_H
#define VOXEL_PROVIDER_H
#include <resource.h>
#include <core/resource.h>
#include "voxel_buffer.h"
class VoxelProvider : public Resource {

View File

@ -1,5 +1,5 @@
#include "voxel_raycast.h"
#include <math_funcs.h>
#include <core/math/math_funcs.h>
bool voxel_raycast(
Vector3 ray_origin,

View File

@ -1,5 +1,5 @@
#include "vector3i.h"
#include <vector3.h>
#include <core/math/vector3.h>
// TODO that could be a template function
// pos: voxel position

View File

@ -1,9 +1,9 @@
#include "voxel_terrain.h"
#include "voxel_raycast.h"
#include "rect3i.h"
#include <os/os.h>
#include <core/os/os.h>
#include <scene/3d/mesh_instance.h>
#include <engine.h>
#include <core/engine.h>
VoxelTerrain::VoxelTerrain()

View File

@ -1,7 +1,7 @@
#include "zprofiling.h"
#ifdef VOXEL_PROFILING
#include <os/os.h>
#include <core/os/os.h>
//-----------------------------------------------------------------------------
class ZProfileVar {

View File

@ -5,9 +5,9 @@
#ifdef VOXEL_PROFILING
#include <dictionary.h>
#include <hash_map.h>
#include <ustring.h>
#include <core/dictionary.h>
#include <core/hash_map.h>
#include <core/ustring.h>
#define VOXEL_PROFILE_BEGIN(_key) _zprofiler.begin(_key);
#define VOXEL_PROFILE_END(_key) _zprofiler.end(_key);