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
34 lines
529 B
C++
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
|