mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 15:29:05 +02:00
remove the notion of last sent level from VoxelAgentData
This commit is contained in:
parent
0fb244c2bd
commit
f469ec8e2e
2 changed files with 0 additions and 3 deletions
|
@ -11,7 +11,6 @@
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
VoxelAgentData::VoxelAgentData() {
|
VoxelAgentData::VoxelAgentData() {
|
||||||
lastSentLevel = 0;
|
|
||||||
rootMarkerNode = new MarkerNode();
|
rootMarkerNode = new MarkerNode();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,7 +19,6 @@ VoxelAgentData::~VoxelAgentData() {
|
||||||
}
|
}
|
||||||
|
|
||||||
VoxelAgentData::VoxelAgentData(const VoxelAgentData &otherAgentData) {
|
VoxelAgentData::VoxelAgentData(const VoxelAgentData &otherAgentData) {
|
||||||
lastSentLevel = otherAgentData.lastSentLevel;
|
|
||||||
memcpy(position, otherAgentData.position, sizeof(float) * 3);
|
memcpy(position, otherAgentData.position, sizeof(float) * 3);
|
||||||
rootMarkerNode = new MarkerNode(*otherAgentData.rootMarkerNode);
|
rootMarkerNode = new MarkerNode(*otherAgentData.rootMarkerNode);
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
class VoxelAgentData : public AgentData {
|
class VoxelAgentData : public AgentData {
|
||||||
public:
|
public:
|
||||||
float position[3];
|
float position[3];
|
||||||
int lastSentLevel;
|
|
||||||
MarkerNode *rootMarkerNode;
|
MarkerNode *rootMarkerNode;
|
||||||
|
|
||||||
VoxelAgentData();
|
VoxelAgentData();
|
||||||
|
|
Loading…
Reference in a new issue