Review finding: Use constexpr instead of macro
parent
57fc7144a7
commit
bc8a122d88
|
@ -252,7 +252,8 @@ private:
|
||||||
unsigned mNumColorChannels;
|
unsigned mNumColorChannels;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define JOINED_VERTICES_MARK 0x80000000u
|
static constexpr siue_T JOINED_VERTICES_MARK = 0x80000000u;
|
||||||
|
|
||||||
// now start the JoinVerticesProcess
|
// now start the JoinVerticesProcess
|
||||||
int JoinVerticesProcess::ProcessMesh( aiMesh* pMesh, unsigned int meshIndex) {
|
int JoinVerticesProcess::ProcessMesh( aiMesh* pMesh, unsigned int meshIndex) {
|
||||||
static_assert( AI_MAX_NUMBER_OF_COLOR_SETS == 8, "AI_MAX_NUMBER_OF_COLOR_SETS == 8");
|
static_assert( AI_MAX_NUMBER_OF_COLOR_SETS == 8, "AI_MAX_NUMBER_OF_COLOR_SETS == 8");
|
||||||
|
|
Loading…
Reference in New Issue