MDC: introduce model to test MDC-format.

pull/2112/head
Kim Kulling 2018-09-02 10:38:21 +02:00
parent e174326ae9
commit 008455b984
2 changed files with 5 additions and 0 deletions

Binary file not shown.

View File

@ -43,13 +43,18 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "UnitTestPCH.h" #include "UnitTestPCH.h"
#include "AbstractImportExportBase.h" #include "AbstractImportExportBase.h"
#include <assimp/Importer.hpp>
#include <assimp/postprocess.h>
using namespace Assimp; using namespace Assimp;
class utMDCImportExport : public AbstractImportExportBase { class utMDCImportExport : public AbstractImportExportBase {
public: public:
virtual bool importerTest() { virtual bool importerTest() {
Assimp::Importer importer;
const aiScene *scene = importer.ReadFile( ASSIMP_TEST_MODELS_DIR "/MDC/spider.mdc", 0);
return true; return true;
return nullptr != scene;
} }
}; };