mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-12 10:15:12 +01:00
Now VoxelWorld inherits from Navigation.
This commit is contained in:
parent
aa4fb6c088
commit
0175490bc5
@ -1,7 +1,7 @@
|
|||||||
#ifndef VOXEL_WORLD_H
|
#ifndef VOXEL_WORLD_H
|
||||||
#define VOXEL_WORLD_H
|
#define VOXEL_WORLD_H
|
||||||
|
|
||||||
#include "scene/3d/spatial.h"
|
#include "scene/3d/navigation.h"
|
||||||
#include "core/hash_map.h"
|
#include "core/hash_map.h"
|
||||||
|
|
||||||
#include "../math/vector3i.h"
|
#include "../math/vector3i.h"
|
||||||
@ -11,8 +11,8 @@
|
|||||||
|
|
||||||
class VoxelChunk;
|
class VoxelChunk;
|
||||||
|
|
||||||
class VoxelWorld : public Spatial {
|
class VoxelWorld : public Navigation {
|
||||||
GDCLASS(VoxelWorld, Spatial);
|
GDCLASS(VoxelWorld, Navigation);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
int get_chunk_size_x() const;
|
int get_chunk_size_x() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user