mirror of
https://github.com/Relintai/terraman.git
synced 2025-04-23 21:43:23 +02:00
Removed the surface related overrides from TerraMaterialCachePCM.
This commit is contained in:
parent
24fbd24a6c
commit
74c5200ec5
@ -62,25 +62,6 @@ void TerraMaterialCachePCM::set_margin(const int margin) {
|
|||||||
_packer->set_margin(margin);
|
_packer->set_margin(margin);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Surfaces
|
|
||||||
Ref<TerraSurface> TerraMaterialCachePCM::voxel_surface_get(const int index) {
|
|
||||||
return Ref<TerraSurface>();
|
|
||||||
}
|
|
||||||
Ref<TerraSurface> TerraMaterialCachePCM::voxel_surface_id_get(const int id) {
|
|
||||||
return Ref<TerraSurface>();
|
|
||||||
}
|
|
||||||
void TerraMaterialCachePCM::voxel_surface_add(Ref<TerraSurface> value) {
|
|
||||||
}
|
|
||||||
void TerraMaterialCachePCM::voxel_surface_set(int index, Ref<TerraSurface> 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() {
|
void TerraMaterialCachePCM::refresh_rects() {
|
||||||
bool texture_added = false;
|
bool texture_added = false;
|
||||||
for (int i = 0; i < _surfaces.size(); i++) {
|
for (int i = 0; i < _surfaces.size(); i++) {
|
||||||
|
@ -64,14 +64,6 @@ public:
|
|||||||
int get_margin() const;
|
int get_margin() const;
|
||||||
void set_margin(const int margin);
|
void set_margin(const int margin);
|
||||||
|
|
||||||
Ref<TerraSurface> voxel_surface_get(const int index);
|
|
||||||
Ref<TerraSurface> voxel_surface_id_get(const int id);
|
|
||||||
void voxel_surface_add(Ref<TerraSurface> value);
|
|
||||||
void voxel_surface_set(const int index, Ref<TerraSurface> value);
|
|
||||||
void voxel_surface_remove(const int index);
|
|
||||||
int voxel_surface_get_num() const;
|
|
||||||
void voxel_surfaces_clear();
|
|
||||||
|
|
||||||
void refresh_rects();
|
void refresh_rects();
|
||||||
|
|
||||||
void _setup_material_albedo(Ref<Texture> texture);
|
void _setup_material_albedo(Ref<Texture> texture);
|
||||||
|
Loading…
Reference in New Issue
Block a user