mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-12 10:15:12 +01:00
Added VoxelBuffer to the build.
This commit is contained in:
parent
e2c8c5c2ca
commit
b5bdecf95a
3
SCsub
3
SCsub
@ -16,5 +16,4 @@ env.add_source_files(env.modules_sources,"meshers/transvoxel_tables.cpp")
|
|||||||
|
|
||||||
env.add_source_files(env.modules_sources,"utility/marching_cubes_voxel_query.cpp")
|
env.add_source_files(env.modules_sources,"utility/marching_cubes_voxel_query.cpp")
|
||||||
|
|
||||||
|
env.add_source_files(env.modules_sources,"world/voxel_buffer.cpp")
|
||||||
|
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
#include "utility/marching_cubes_voxel_query.h"
|
#include "utility/marching_cubes_voxel_query.h"
|
||||||
|
|
||||||
|
#include "world/voxel_buffer.h"
|
||||||
|
|
||||||
void register_voxelman_types() {
|
void register_voxelman_types() {
|
||||||
ClassDB::register_class<VoxelMesher>();
|
ClassDB::register_class<VoxelMesher>();
|
||||||
ClassDB::register_class<VoxelMesherTransvoxel>();
|
ClassDB::register_class<VoxelMesherTransvoxel>();
|
||||||
@ -23,6 +25,8 @@ void register_voxelman_types() {
|
|||||||
ClassDB::register_class<VoxelLight>();
|
ClassDB::register_class<VoxelLight>();
|
||||||
|
|
||||||
ClassDB::register_class<MarchingCubesVoxelQuery>();
|
ClassDB::register_class<MarchingCubesVoxelQuery>();
|
||||||
|
|
||||||
|
ClassDB::register_class<VoxelBuffer>();
|
||||||
}
|
}
|
||||||
|
|
||||||
void unregister_voxelman_types() {
|
void unregister_voxelman_types() {
|
||||||
|
@ -20,9 +20,9 @@
|
|||||||
#ifndef VOXEL_BUFFER_H
|
#ifndef VOXEL_BUFFER_H
|
||||||
#define VOXEL_BUFFER_H
|
#define VOXEL_BUFFER_H
|
||||||
|
|
||||||
#include "math/vector3i.h"
|
#include "../math/vector3i.h"
|
||||||
#include <core/reference.h>
|
#include "core/reference.h"
|
||||||
#include <core/vector.h>
|
#include "core/vector.h"
|
||||||
|
|
||||||
// Dense voxels data storage.
|
// Dense voxels data storage.
|
||||||
// Organized in 8-bit channels like images, all optional.
|
// Organized in 8-bit channels like images, all optional.
|
||||||
|
Loading…
Reference in New Issue
Block a user