Files
assimp/port/Assimp.NET/Assimp.NET/VertexWeight.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

34 lines
529 B
C++

#include "VertexWeight.h"
namespace AssimpNET
{
VertexWeight::VertexWeight(void)
{
this->p_native = new aiVertexWeight();
}
VertexWeight::VertexWeight(unsigned int pID, float pWeight)
{
this->p_native = new aiVertexWeight(pID, pWeight);
}
VertexWeight::VertexWeight(aiVertexWeight *native)
{
this->p_native = native;
}
VertexWeight::~VertexWeight(void)
{
if(this->p_native)
delete this->p_native;
}
aiVertexWeight* VertexWeight::getNative()
{
return this->p_native;
}
}//namespace