Files
assimp/port/Assimp.NET/Assimp.NET/VectorKey.cpp
rave3d bbf5a32e6c adding native pointer to manganed classes
implementing c'tors and d'tors for managend classes (execept logging system)
rename some files

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@481 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-09-24 14:44:21 +00:00

54 lines
914 B
C++

#include "VectorKey.h"
namespace AssimpNET
{
VectorKey::VectorKey(void)
{
this->p_native = new aiVectorKey();
}
VectorKey::VectorKey(double time, Vector3D^ value)
{
this->p_native = new aiVectorKey(time, *(value->getNative()));
}
VectorKey::VectorKey(aiVectorKey* native)
{
this->p_native = native;
}
VectorKey::~VectorKey(void)
{
if(this->p_native)
delete this->p_native;
}
bool VectorKey::operator != (const VectorKey^ o)
{
throw gcnew System::NotImplementedException();
}
bool VectorKey::operator < (const VectorKey^ o)
{
throw gcnew System::NotImplementedException();
}
bool VectorKey::operator == (const VectorKey^ o)
{
throw gcnew System::NotImplementedException();
}
bool VectorKey::operator > (const VectorKey^ o)
{
throw gcnew System::NotImplementedException();
}
aiVectorKey* VectorKey::getNative()
{
return this->p_native;
}
}