diff --git a/cocos/3d/CCBundle3D.h b/cocos/3d/CCBundle3D.h index cab95a413c..fa4e717d70 100644 --- a/cocos/3d/CCBundle3D.h +++ b/cocos/3d/CCBundle3D.h @@ -33,7 +33,10 @@ #include "base/CCRef.h" #include "base/ccTypes.h" -#include "document.h" +#include "3d/CCMesh.h" +#include "3d/CCBundle3DData.h" + +#include "external/json/document.h" NS_CC_BEGIN diff --git a/cocos/3d/CMakeLists.txt b/cocos/3d/CMakeLists.txt index cb7d6a9de3..ca89693fe3 100644 --- a/cocos/3d/CMakeLists.txt +++ b/cocos/3d/CMakeLists.txt @@ -2,6 +2,10 @@ set(COCOS_3D_SRC 3d/CCMesh.cpp 3d/CCObjLoader.cpp 3d/CCSprite3D.cpp - 3d/CCSprite3DDataCache.cpp + 3d/CCSprite3DMaterial.cpp + 3d/CCAnimate3D.cpp + 3d/CCAnimation3D.cpp + 3d/CCBundle3D.cpp + 3d/CCMeshSkin.cpp )