mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 22:16:39 +02:00
28 lines
568 B
C++
28 lines
568 B
C++
//
|
|
// VoxelAgentData.cpp
|
|
// hifi
|
|
//
|
|
// Created by Stephen Birarda on 3/21/13.
|
|
//
|
|
//
|
|
|
|
#include "VoxelAgentData.h"
|
|
#include <cstring>
|
|
#include <cstdio>
|
|
|
|
VoxelAgentData::VoxelAgentData() {
|
|
rootMarkerNode = new MarkerNode();
|
|
}
|
|
|
|
VoxelAgentData::~VoxelAgentData() {
|
|
delete rootMarkerNode;
|
|
}
|
|
|
|
VoxelAgentData::VoxelAgentData(const VoxelAgentData &otherAgentData) {
|
|
memcpy(&_position, &otherAgentData._position, sizeof(_position));
|
|
rootMarkerNode = new MarkerNode();
|
|
}
|
|
|
|
VoxelAgentData* VoxelAgentData::clone() const {
|
|
return new VoxelAgentData(*this);
|
|
}
|