Fixed missing commit
Former-commit-id: a46cc95a9f70415f4ebfbb6e12b3a4bf6ba90eb9
This commit is contained in:
@@ -140,10 +140,11 @@ unsigned int NzUtility::ComponentCount[nzComponentType_Max+1] =
|
|||||||
1, // nzComponentType_Int1
|
1, // nzComponentType_Int1
|
||||||
2, // nzComponentType_Int2
|
2, // nzComponentType_Int2
|
||||||
3, // nzComponentType_Int3
|
3, // nzComponentType_Int3
|
||||||
4 // nzComponentType_Int4
|
4, // nzComponentType_Int4
|
||||||
|
4 // nzComponentType_Quaternion
|
||||||
};
|
};
|
||||||
|
|
||||||
static_assert(nzComponentType_Max+1 == 13, "Component count array is incomplete");
|
static_assert(nzComponentType_Max+1 == 14, "Component count array is incomplete");
|
||||||
|
|
||||||
unsigned int NzUtility::ComponentStride[nzComponentType_Max+1] =
|
unsigned int NzUtility::ComponentStride[nzComponentType_Max+1] =
|
||||||
{
|
{
|
||||||
@@ -159,9 +160,10 @@ unsigned int NzUtility::ComponentStride[nzComponentType_Max+1] =
|
|||||||
1*sizeof(nzUInt32), // nzComponentType_Int1
|
1*sizeof(nzUInt32), // nzComponentType_Int1
|
||||||
2*sizeof(nzUInt32), // nzComponentType_Int2
|
2*sizeof(nzUInt32), // nzComponentType_Int2
|
||||||
3*sizeof(nzUInt32), // nzComponentType_Int3
|
3*sizeof(nzUInt32), // nzComponentType_Int3
|
||||||
4*sizeof(nzUInt32) // nzComponentType_Int4
|
4*sizeof(nzUInt32), // nzComponentType_Int4
|
||||||
|
4*sizeof(float) // nzComponentType_Quaternion
|
||||||
};
|
};
|
||||||
|
|
||||||
static_assert(nzComponentType_Max+1 == 13, "Component stride array is incomplete");
|
static_assert(nzComponentType_Max+1 == 14, "Component stride array is incomplete");
|
||||||
|
|
||||||
unsigned int NzUtility::s_moduleReferenceCounter = 0;
|
unsigned int NzUtility::s_moduleReferenceCounter = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user