Added SortByPType and DeterminePType (anon.) steps Optimized ASE, fixed 3DS. Rewrite all loaders to conform to the api changes. Optimized normal computation code in LWOLoader.cpp Added new unit tests Added test file for AC3D (good old wuson again) git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@167 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
38 lines
692 B
C++
38 lines
692 B
C++
#ifndef TESTNORMALS_H
|
|
#define TESTNORMALS_H
|
|
|
|
#include <cppunit/TestFixture.h>
|
|
#include <cppunit/extensions/HelperMacros.h>
|
|
|
|
#include <aiTypes.h>
|
|
#include <aiMesh.h>
|
|
#include <aiScene.h>
|
|
#include <TriangulateProcess.h>
|
|
|
|
|
|
using namespace std;
|
|
using namespace Assimp;
|
|
|
|
class TriangulateProcessTest : public CPPUNIT_NS :: TestFixture
|
|
{
|
|
CPPUNIT_TEST_SUITE (TriangulateProcessTest);
|
|
CPPUNIT_TEST (testTriangulation);
|
|
CPPUNIT_TEST_SUITE_END ();
|
|
|
|
public:
|
|
void setUp (void);
|
|
void tearDown (void);
|
|
|
|
protected:
|
|
|
|
void testTriangulation (void);
|
|
|
|
private:
|
|
|
|
|
|
aiMesh* pcMesh;
|
|
TriangulateProcess* piProcess;
|
|
};
|
|
|
|
#endif
|