2014-06-11 18:24:14 +08:00
|
|
|
/****************************************************************************
|
|
|
|
Copyright (c) 2014 Chukong Technologies Inc.
|
|
|
|
|
|
|
|
http://www.cocos2d-x.org
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
in the Software without restriction, including without limitation the rights
|
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
THE SOFTWARE.
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef __CC_BUNDLE_3D_DATA_H__
|
|
|
|
#define __CC_BUNDLE_3D_DATA_H__
|
|
|
|
|
|
|
|
#include "base/CCRef.h"
|
|
|
|
#include "base/ccTypes.h"
|
|
|
|
#include "math/CCMath.h"
|
2014-11-06 09:38:16 +08:00
|
|
|
#include "3d/CCAABB.h"
|
2014-06-11 18:24:14 +08:00
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <map>
|
2014-06-12 15:53:41 +08:00
|
|
|
|
2014-06-11 18:24:14 +08:00
|
|
|
NS_CC_BEGIN
|
|
|
|
|
2015-03-28 15:11:51 +08:00
|
|
|
/**mesh vertex attribute
|
|
|
|
* @js NA
|
2015-03-30 15:47:47 +08:00
|
|
|
* @lua NA
|
2015-03-28 15:11:51 +08:00
|
|
|
*/
|
2014-06-11 18:24:14 +08:00
|
|
|
struct MeshVertexAttrib
|
|
|
|
{
|
|
|
|
//attribute size
|
|
|
|
GLint size;
|
|
|
|
//GL_FLOAT
|
|
|
|
GLenum type;
|
|
|
|
//VERTEX_ATTRIB_POSITION,VERTEX_ATTRIB_COLOR,VERTEX_ATTRIB_TEX_COORD,VERTEX_ATTRIB_NORMAL, VERTEX_ATTRIB_BLEND_WEIGHT, VERTEX_ATTRIB_BLEND_INDEX, GLProgram for detail
|
|
|
|
int vertexAttrib;
|
|
|
|
//size in bytes
|
|
|
|
int attribSizeBytes;
|
|
|
|
};
|
|
|
|
|
2014-08-15 13:03:53 +08:00
|
|
|
|
2015-03-28 15:11:51 +08:00
|
|
|
/** model node data, since 3.3
|
|
|
|
* @js NA
|
2015-03-30 15:47:47 +08:00
|
|
|
* @lua NA
|
2015-03-28 15:11:51 +08:00
|
|
|
*/
|
2015-03-24 10:22:55 +08:00
|
|
|
struct ModelData
|
|
|
|
{
|
|
|
|
std::string subMeshId;
|
2017-02-08 09:45:05 +08:00
|
|
|
std::string materialId;
|
2015-03-24 10:22:55 +08:00
|
|
|
std::vector<std::string> bones;
|
|
|
|
std::vector<Mat4> invBindPose;
|
|
|
|
|
|
|
|
virtual ~ModelData()
|
|
|
|
{
|
|
|
|
resetData();
|
|
|
|
}
|
|
|
|
virtual void resetData()
|
|
|
|
{
|
|
|
|
bones.clear();
|
|
|
|
invBindPose.clear();
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2015-03-28 15:11:51 +08:00
|
|
|
/** Node data, since 3.3
|
|
|
|
* @js NA
|
2015-03-30 15:47:47 +08:00
|
|
|
* @lua NA
|
2015-03-28 15:11:51 +08:00
|
|
|
*/
|
2014-08-15 13:03:53 +08:00
|
|
|
struct NodeData
|
|
|
|
{
|
|
|
|
std::string id;
|
|
|
|
Mat4 transform;
|
2014-08-20 19:19:49 +08:00
|
|
|
std::vector<ModelData*> modelNodeDatas;
|
2014-08-20 11:40:04 +08:00
|
|
|
std::vector<NodeData*> children;
|
|
|
|
|
2014-08-15 13:03:53 +08:00
|
|
|
virtual ~NodeData()
|
|
|
|
{
|
|
|
|
resetData();
|
|
|
|
}
|
|
|
|
virtual void resetData()
|
|
|
|
{
|
|
|
|
id.clear();
|
|
|
|
transform.setIdentity();
|
|
|
|
for (auto& it : children)
|
|
|
|
{
|
|
|
|
delete it;
|
|
|
|
}
|
|
|
|
children.clear();
|
2015-03-24 10:22:55 +08:00
|
|
|
|
|
|
|
for(auto& modeldata : modelNodeDatas)
|
|
|
|
{
|
|
|
|
delete modeldata;
|
|
|
|
}
|
|
|
|
modelNodeDatas.clear();
|
2014-08-15 13:03:53 +08:00
|
|
|
}
|
2014-08-20 19:19:49 +08:00
|
|
|
|
2014-08-15 13:03:53 +08:00
|
|
|
};
|
|
|
|
|
2015-03-28 15:11:51 +08:00
|
|
|
/** node datas, since 3.3
|
|
|
|
* @js NA
|
2015-03-30 15:47:47 +08:00
|
|
|
* @lua NA
|
2015-03-28 15:11:51 +08:00
|
|
|
*/
|
2014-08-15 13:03:53 +08:00
|
|
|
struct NodeDatas
|
|
|
|
{
|
|
|
|
std::vector<NodeData*> skeleton; //skeleton
|
|
|
|
std::vector<NodeData*> nodes; // nodes, CCNode, Sprite3D or part of Sprite3D
|
2014-08-17 22:49:53 +08:00
|
|
|
|
2015-04-21 19:38:38 +08:00
|
|
|
virtual ~NodeDatas()
|
|
|
|
{
|
|
|
|
resetData();
|
|
|
|
}
|
|
|
|
|
2014-08-17 22:49:53 +08:00
|
|
|
void resetData()
|
|
|
|
{
|
|
|
|
for(auto& it : skeleton)
|
|
|
|
{
|
|
|
|
delete it;
|
|
|
|
}
|
|
|
|
skeleton.clear();
|
|
|
|
for(auto& it : nodes)
|
|
|
|
{
|
|
|
|
delete it;
|
|
|
|
}
|
|
|
|
nodes.clear();
|
|
|
|
}
|
2014-08-15 13:03:53 +08:00
|
|
|
};
|
|
|
|
|
2015-03-28 15:11:51 +08:00
|
|
|
/**mesh data
|
|
|
|
* @js NA
|
2015-03-30 15:47:47 +08:00
|
|
|
* @lua NA
|
2015-03-28 15:11:51 +08:00
|
|
|
*/
|
2014-06-11 18:24:14 +08:00
|
|
|
struct MeshData
|
|
|
|
{
|
2014-07-29 10:49:06 +08:00
|
|
|
typedef std::vector<unsigned short> IndexArray;
|
2014-06-13 11:59:13 +08:00
|
|
|
std::vector<float> vertex;
|
2014-06-11 18:24:14 +08:00
|
|
|
int vertexSizeInFloat;
|
2014-07-29 10:49:06 +08:00
|
|
|
std::vector<IndexArray> subMeshIndices;
|
2014-08-15 13:03:53 +08:00
|
|
|
std::vector<std::string> subMeshIds; //subMesh Names (since 3.3)
|
2014-11-03 18:05:23 +08:00
|
|
|
std::vector<AABB> subMeshAABB;
|
2014-06-11 18:24:14 +08:00
|
|
|
int numIndex;
|
2014-06-13 11:59:13 +08:00
|
|
|
std::vector<MeshVertexAttrib> attribs;
|
2014-06-11 18:24:14 +08:00
|
|
|
int attribCount;
|
|
|
|
|
|
|
|
public:
|
2015-03-20 17:20:22 +08:00
|
|
|
/**
|
|
|
|
* Get per vertex size
|
|
|
|
* @return return the sum of each vertex's all attribute size.
|
|
|
|
*/
|
2014-08-22 13:25:26 +08:00
|
|
|
int getPerVertexSize() const
|
|
|
|
{
|
|
|
|
int vertexsize = 0;
|
|
|
|
for(const auto& attrib : attribs)
|
|
|
|
{
|
|
|
|
vertexsize += attrib.attribSizeBytes;
|
|
|
|
}
|
|
|
|
return vertexsize;
|
|
|
|
}
|
2015-03-20 17:20:22 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Reset the data
|
|
|
|
*/
|
2014-06-11 18:24:14 +08:00
|
|
|
void resetData()
|
|
|
|
{
|
2014-06-13 11:59:13 +08:00
|
|
|
vertex.clear();
|
2014-07-29 10:49:06 +08:00
|
|
|
subMeshIndices.clear();
|
2014-11-04 10:39:41 +08:00
|
|
|
subMeshAABB.clear();
|
2014-06-13 11:59:13 +08:00
|
|
|
attribs.clear();
|
2014-06-11 18:24:14 +08:00
|
|
|
vertexSizeInFloat = 0;
|
|
|
|
numIndex = 0;
|
|
|
|
attribCount = 0;
|
|
|
|
}
|
|
|
|
MeshData()
|
2014-06-13 11:59:13 +08:00
|
|
|
: vertexSizeInFloat(0)
|
2014-06-11 18:24:14 +08:00
|
|
|
, numIndex(0)
|
|
|
|
, attribCount(0)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
~MeshData()
|
|
|
|
{
|
|
|
|
resetData();
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2015-03-28 15:11:51 +08:00
|
|
|
/** mesh datas
|
|
|
|
* @js NA
|
2015-03-30 15:47:47 +08:00
|
|
|
* @lua NA
|
2015-03-28 15:11:51 +08:00
|
|
|
*/
|
2014-08-15 13:03:53 +08:00
|
|
|
struct MeshDatas
|
|
|
|
{
|
|
|
|
std::vector<MeshData*> meshDatas;
|
|
|
|
|
|
|
|
void resetData()
|
|
|
|
{
|
|
|
|
for(auto& it : meshDatas)
|
|
|
|
{
|
|
|
|
delete it;
|
|
|
|
}
|
|
|
|
meshDatas.clear();
|
|
|
|
}
|
|
|
|
~MeshDatas()
|
|
|
|
{
|
|
|
|
resetData();
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2015-03-28 15:11:51 +08:00
|
|
|
/**skin data
|
|
|
|
* @js NA
|
2015-03-30 15:47:47 +08:00
|
|
|
* @lua NA
|
2015-03-28 15:11:51 +08:00
|
|
|
*/
|
2014-06-11 18:24:14 +08:00
|
|
|
struct SkinData
|
|
|
|
{
|
2014-06-20 22:38:09 +08:00
|
|
|
std::vector<std::string> skinBoneNames; //skin bones affect skin
|
|
|
|
std::vector<std::string> nodeBoneNames; //node bones don't affect skin, all bones [skinBone, nodeBone]
|
|
|
|
std::vector<Mat4> inverseBindPoseMatrices; //bind pose of skin bone, only for skin bone
|
|
|
|
std::vector<Mat4> skinBoneOriginMatrices; // original bone transform, for skin bone
|
|
|
|
std::vector<Mat4> nodeBoneOriginMatrices; // original bone transform, for node bone
|
2014-06-11 18:24:14 +08:00
|
|
|
|
2014-06-20 22:38:09 +08:00
|
|
|
//bone child info, both skinbone and node bone
|
2014-06-11 18:24:14 +08:00
|
|
|
std::map<int, std::vector<int> > boneChild;//key parent, value child
|
|
|
|
int rootBoneIndex;
|
|
|
|
void resetData()
|
|
|
|
{
|
2014-06-20 22:38:09 +08:00
|
|
|
skinBoneNames.clear();
|
|
|
|
nodeBoneNames.clear();
|
2014-06-11 18:24:14 +08:00
|
|
|
inverseBindPoseMatrices.clear();
|
2014-06-20 22:38:09 +08:00
|
|
|
skinBoneOriginMatrices.clear();
|
|
|
|
nodeBoneOriginMatrices.clear();
|
2014-06-11 18:24:14 +08:00
|
|
|
boneChild.clear();
|
|
|
|
rootBoneIndex = -1;
|
|
|
|
}
|
2014-06-12 15:53:41 +08:00
|
|
|
|
2014-06-24 14:10:03 +08:00
|
|
|
void addSkinBoneNames(const std::string& name)
|
|
|
|
{
|
2014-07-31 18:14:01 +08:00
|
|
|
auto it = std::find(skinBoneNames.begin(), skinBoneNames.end(), name);
|
|
|
|
if (it == skinBoneNames.end())
|
|
|
|
skinBoneNames.push_back(name);
|
2014-06-24 14:10:03 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
void addNodeBoneNames(const std::string& name)
|
|
|
|
{
|
2014-07-31 18:14:01 +08:00
|
|
|
auto it = std::find(nodeBoneNames.begin(), nodeBoneNames.end(), name);
|
|
|
|
if (it == nodeBoneNames.end())
|
|
|
|
nodeBoneNames.push_back(name);
|
2014-06-24 14:10:03 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
int getSkinBoneNameIndex(const std::string& name)const
|
|
|
|
{
|
|
|
|
int i = 0;
|
2014-07-31 18:14:01 +08:00
|
|
|
for (const auto& iter : skinBoneNames)
|
2014-06-24 14:10:03 +08:00
|
|
|
{
|
|
|
|
if ((iter) == name)
|
|
|
|
return i;
|
|
|
|
i++;
|
|
|
|
}
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
2014-06-12 15:53:41 +08:00
|
|
|
int getBoneNameIndex(const std::string& name)const
|
|
|
|
{
|
2014-06-20 15:30:08 +08:00
|
|
|
int i = 0;
|
2014-07-31 18:14:01 +08:00
|
|
|
for (const auto& iter : skinBoneNames)
|
2014-06-20 22:38:09 +08:00
|
|
|
{
|
|
|
|
if ((iter) == name)
|
|
|
|
return i;
|
|
|
|
i++;
|
|
|
|
}
|
2014-07-31 18:14:01 +08:00
|
|
|
for(const auto& iter : nodeBoneNames)
|
2014-06-12 15:53:41 +08:00
|
|
|
{
|
2014-06-20 22:38:09 +08:00
|
|
|
if (iter == name)
|
2014-06-12 15:53:41 +08:00
|
|
|
return i;
|
2014-06-20 22:38:09 +08:00
|
|
|
i++;
|
2014-06-12 15:53:41 +08:00
|
|
|
}
|
|
|
|
return -1;
|
|
|
|
}
|
2014-06-20 22:38:09 +08:00
|
|
|
|
2014-06-11 18:24:14 +08:00
|
|
|
};
|
|
|
|
|
2015-03-28 15:11:51 +08:00
|
|
|
/**material data,
|
|
|
|
* @js NA
|
2015-03-30 15:47:47 +08:00
|
|
|
* @lua NA
|
2015-03-28 15:11:51 +08:00
|
|
|
*/
|
2014-06-11 18:24:14 +08:00
|
|
|
struct MaterialData
|
|
|
|
{
|
2014-07-29 10:49:06 +08:00
|
|
|
std::map<int, std::string> texturePaths; //submesh id, texture path
|
|
|
|
void resetData()
|
|
|
|
{
|
|
|
|
texturePaths.clear();
|
|
|
|
}
|
2014-06-11 18:24:14 +08:00
|
|
|
};
|
|
|
|
|
2014-08-15 15:32:15 +08:00
|
|
|
|
2015-03-28 15:11:51 +08:00
|
|
|
/**new material, since 3.3
|
|
|
|
* @js NA
|
2015-03-30 15:47:47 +08:00
|
|
|
* @lua NA
|
2015-03-28 15:11:51 +08:00
|
|
|
*/
|
2014-08-15 15:32:15 +08:00
|
|
|
struct NTextureData
|
|
|
|
{
|
2014-08-16 10:41:42 +08:00
|
|
|
enum class Usage {
|
|
|
|
Unknown = 0,
|
|
|
|
None = 1,
|
|
|
|
Diffuse = 2,
|
|
|
|
Emissive = 3,
|
|
|
|
Ambient = 4,
|
|
|
|
Specular = 5,
|
|
|
|
Shininess = 6,
|
|
|
|
Normal = 7,
|
|
|
|
Bump = 8,
|
|
|
|
Transparency = 9,
|
|
|
|
Reflection = 10
|
|
|
|
};
|
2014-08-15 20:52:45 +08:00
|
|
|
std::string id;
|
2014-08-15 15:32:15 +08:00
|
|
|
std::string filename;
|
2014-08-16 10:41:42 +08:00
|
|
|
Usage type;
|
2014-08-15 15:32:15 +08:00
|
|
|
GLenum wrapS;
|
|
|
|
GLenum wrapT;
|
|
|
|
} ;
|
2014-08-15 13:03:53 +08:00
|
|
|
struct NMaterialData
|
|
|
|
{
|
2014-08-16 10:41:42 +08:00
|
|
|
std::vector<NTextureData> textures;
|
2014-08-15 13:03:53 +08:00
|
|
|
std::string id;
|
2014-08-16 14:49:38 +08:00
|
|
|
const NTextureData* getTextureData(const NTextureData::Usage& type) const
|
2014-08-16 10:41:42 +08:00
|
|
|
{
|
|
|
|
for(const auto& it : textures)
|
|
|
|
{
|
|
|
|
if (it.type == type)
|
|
|
|
return ⁢
|
|
|
|
}
|
|
|
|
return nullptr;
|
|
|
|
}
|
2014-08-15 13:03:53 +08:00
|
|
|
};
|
2015-03-28 15:11:51 +08:00
|
|
|
/** material datas, since 3.3
|
|
|
|
* @js NA
|
2015-03-30 15:47:47 +08:00
|
|
|
* @lua NA
|
2015-03-28 15:11:51 +08:00
|
|
|
*/
|
2014-08-15 13:03:53 +08:00
|
|
|
struct MaterialDatas
|
|
|
|
{
|
2014-08-16 10:41:42 +08:00
|
|
|
std::vector<NMaterialData> materials;
|
2014-08-15 13:03:53 +08:00
|
|
|
void resetData()
|
|
|
|
{
|
|
|
|
materials.clear();
|
|
|
|
}
|
2014-08-16 10:41:42 +08:00
|
|
|
const NMaterialData* getMaterialData(const std::string& materialid) const
|
2014-08-15 20:52:45 +08:00
|
|
|
{
|
|
|
|
for(const auto& it : materials)
|
|
|
|
{
|
|
|
|
if (it.id == materialid)
|
|
|
|
return ⁢
|
|
|
|
}
|
|
|
|
return nullptr;
|
|
|
|
}
|
2014-08-15 13:03:53 +08:00
|
|
|
};
|
2015-03-28 15:11:51 +08:00
|
|
|
/**animation data
|
|
|
|
* @js NA
|
2015-03-30 15:47:47 +08:00
|
|
|
* @lua NA
|
2015-03-28 15:11:51 +08:00
|
|
|
*/
|
2014-06-12 14:03:33 +08:00
|
|
|
struct Animation3DData
|
|
|
|
{
|
2014-06-13 11:59:13 +08:00
|
|
|
public:
|
2014-06-12 14:03:33 +08:00
|
|
|
struct Vec3Key
|
|
|
|
{
|
|
|
|
Vec3Key()
|
|
|
|
: _time(0)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
Vec3Key(float time, const Vec3& v)
|
|
|
|
: _time(time)
|
|
|
|
, _key(v)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
float _time;
|
|
|
|
Vec3 _key;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct QuatKey
|
|
|
|
{
|
|
|
|
QuatKey()
|
|
|
|
: _time(0)
|
|
|
|
, _key(Quaternion::identity())
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
QuatKey(float time, const Quaternion& quat)
|
|
|
|
: _time(time)
|
|
|
|
, _key(quat)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
float _time;
|
|
|
|
Quaternion _key;
|
|
|
|
};
|
2014-06-13 11:59:13 +08:00
|
|
|
|
|
|
|
public:
|
2014-06-12 14:03:33 +08:00
|
|
|
std::map<std::string, std::vector<Vec3Key>> _translationKeys;
|
|
|
|
std::map<std::string, std::vector<QuatKey>> _rotationKeys;
|
|
|
|
std::map<std::string, std::vector<Vec3Key>> _scaleKeys;
|
|
|
|
|
|
|
|
float _totalTime;
|
2014-06-13 11:59:13 +08:00
|
|
|
|
|
|
|
public:
|
2014-06-12 14:03:33 +08:00
|
|
|
Animation3DData()
|
|
|
|
:_totalTime(0)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
Animation3DData(const Animation3DData& other)
|
2014-10-30 22:25:46 +08:00
|
|
|
: _translationKeys(other._translationKeys)
|
2014-06-12 14:03:33 +08:00
|
|
|
, _rotationKeys(other._rotationKeys)
|
|
|
|
, _scaleKeys(other._scaleKeys)
|
2014-10-30 22:25:46 +08:00
|
|
|
, _totalTime(other._totalTime)
|
2014-06-12 14:03:33 +08:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2014-07-29 10:49:06 +08:00
|
|
|
void resetData()
|
2014-06-12 14:03:33 +08:00
|
|
|
{
|
|
|
|
_totalTime = 0;
|
|
|
|
_translationKeys.clear();
|
|
|
|
_rotationKeys.clear();
|
|
|
|
_scaleKeys.clear();
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2015-03-28 15:11:51 +08:00
|
|
|
/**reference data
|
|
|
|
* @js NA
|
2015-03-30 15:47:47 +08:00
|
|
|
* @lua NA
|
2015-03-28 15:11:51 +08:00
|
|
|
*/
|
2014-06-20 22:38:09 +08:00
|
|
|
struct Reference
|
2014-06-19 15:43:02 +08:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
std::string id;
|
|
|
|
unsigned int type;
|
|
|
|
unsigned int offset;
|
|
|
|
|
2014-06-20 22:38:09 +08:00
|
|
|
Reference(){}
|
2014-06-19 15:43:02 +08:00
|
|
|
|
2014-06-20 22:38:09 +08:00
|
|
|
~Reference(){}
|
2014-06-19 15:43:02 +08:00
|
|
|
};
|
2014-06-20 22:38:09 +08:00
|
|
|
|
2014-06-11 18:24:14 +08:00
|
|
|
NS_CC_END
|
|
|
|
|
|
|
|
#endif //__CC_BUNDLE_3D_DATA_H__
|