// // VoxelAgentData.cpp // hifi // // Created by Stephen Birarda on 3/21/13. // // #include "VoxelAgentData.h" #include #include 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); }