Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 3 additions & 14 deletions cocos/3d/CCBundle3DData.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,8 @@ struct ModelData
std::vector<std::string> bones;
std::vector<Mat4> invBindPose;

virtual ~ModelData()
{
resetData();
}
virtual ~ModelData() {}

virtual void resetData()
{
bones.clear();
Expand Down Expand Up @@ -188,10 +186,6 @@ struct MeshData
, attribCount(0)
{
}
~MeshData()
{
resetData();
}
};

/** mesh datas
Expand Down Expand Up @@ -326,7 +320,7 @@ struct NTextureData
Usage type;
GLenum wrapS;
GLenum wrapT;
} ;
};
struct NMaterialData
{
std::vector<NTextureData> textures;
Expand Down Expand Up @@ -440,14 +434,9 @@ struct Animation3DData
*/
struct Reference
{
public:
std::string id;
unsigned int type;
unsigned int offset;

Reference(){}

~Reference(){}
};

NS_CC_END
Expand Down