mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
disallow copying of VoxelSystem objects
This commit is contained in:
parent
7e766eb351
commit
fc0448a148
2 changed files with 4 additions and 6 deletions
|
@ -417,11 +417,6 @@ int VoxelSystem::updateNodeInArraysAsPartialVBO(VoxelNode* node) {
|
|||
return 0; // not-updated
|
||||
}
|
||||
|
||||
VoxelSystem* VoxelSystem::clone() const {
|
||||
// this still needs to be implemented, will need to be used if VoxelSystem is attached to agent
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void VoxelSystem::init() {
|
||||
|
||||
_renderWarningsOn = false;
|
||||
|
|
|
@ -31,7 +31,6 @@ public:
|
|||
~VoxelSystem();
|
||||
|
||||
int parseData(unsigned char* sourceBuffer, int numBytes);
|
||||
VoxelSystem* clone() const;
|
||||
|
||||
void setViewFrustum(ViewFrustum* viewFrustum) { _viewFrustum = viewFrustum; };
|
||||
|
||||
|
@ -82,6 +81,10 @@ public:
|
|||
creationMode mode, bool destructive = false, bool debug = false);
|
||||
|
||||
private:
|
||||
// disallow copying of VoxelSystem objects
|
||||
VoxelSystem(const VoxelSystem&);
|
||||
VoxelSystem& operator= (const VoxelSystem&);
|
||||
|
||||
int _callsToTreesToArrays;
|
||||
VoxelNodeBag _removedVoxels;
|
||||
|
||||
|
|
Loading…
Reference in a new issue