diff --git a/library/terra_material_cache_pcm.cpp b/library/terra_material_cache_pcm.cpp index e7870fb..15b7b66 100644 --- a/library/terra_material_cache_pcm.cpp +++ b/library/terra_material_cache_pcm.cpp @@ -62,25 +62,6 @@ void TerraMaterialCachePCM::set_margin(const int margin) { _packer->set_margin(margin); } -//Surfaces -Ref TerraMaterialCachePCM::voxel_surface_get(const int index) { - return Ref(); -} -Ref TerraMaterialCachePCM::voxel_surface_id_get(const int id) { - return Ref(); -} -void TerraMaterialCachePCM::voxel_surface_add(Ref value) { -} -void TerraMaterialCachePCM::voxel_surface_set(int index, Ref value) { -} -void TerraMaterialCachePCM::voxel_surface_remove(const int index) { -} -int TerraMaterialCachePCM::voxel_surface_get_num() const { - return 0; -} -void TerraMaterialCachePCM::voxel_surfaces_clear() { -} - void TerraMaterialCachePCM::refresh_rects() { bool texture_added = false; for (int i = 0; i < _surfaces.size(); i++) { diff --git a/library/terra_material_cache_pcm.h b/library/terra_material_cache_pcm.h index 9ce5bb8..7578ac2 100644 --- a/library/terra_material_cache_pcm.h +++ b/library/terra_material_cache_pcm.h @@ -64,14 +64,6 @@ public: int get_margin() const; void set_margin(const int margin); - Ref voxel_surface_get(const int index); - Ref voxel_surface_id_get(const int id); - void voxel_surface_add(Ref value); - void voxel_surface_set(const int index, Ref value); - void voxel_surface_remove(const int index); - int voxel_surface_get_num() const; - void voxel_surfaces_clear(); - void refresh_rects(); void _setup_material_albedo(Ref texture);