Refactor JoinVerticesProcess to utilize the new utility. ADD basic operators for aiColor4D, move to dedicated header and implementation file. ADD some utility functions to SpatialSort. ADD my existing Catmull-Clark implementation to Assimp for all model formats with support for subdivision surfaces. Slightly WIP, likely to produce errors on non-closed meshes. Currently only implemented in the AC3D loader. Switch to byteswap intrinsics instead of inline assembly (bswap). Currently MSVC only. FIX phong shading in assimp_view. VertexTriangleAdjacency class now also works on arbitrary polygons - UNTESTED, tbd. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@532 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
37 lines
643 B
C++
37 lines
643 B
C++
#ifndef TESTLBW_H
|
|
#define TESTLBW_H
|
|
|
|
#include <cppunit/TestFixture.h>
|
|
#include <cppunit/extensions/HelperMacros.h>
|
|
|
|
#include <aiScene.h>
|
|
#include <JoinVerticesProcess.h>
|
|
|
|
|
|
using namespace std;
|
|
using namespace Assimp;
|
|
namespace Assimp {
|
|
class JoinVerticesTest : public CPPUNIT_NS :: TestFixture
|
|
{
|
|
CPPUNIT_TEST_SUITE (JoinVerticesTest);
|
|
CPPUNIT_TEST (testProcess);
|
|
CPPUNIT_TEST_SUITE_END ();
|
|
|
|
public:
|
|
void setUp (void);
|
|
void tearDown (void);
|
|
|
|
protected:
|
|
|
|
void testProcess (void);
|
|
|
|
|
|
private:
|
|
|
|
JoinVerticesProcess* piProcess;
|
|
aiMesh* pcMesh;
|
|
|
|
};
|
|
}
|
|
#endif
|