Fixed missing commit

Former-commit-id: a46cc95a9f70415f4ebfbb6e12b3a4bf6ba90eb9
This commit is contained in:
Lynix 2014-07-13 16:25:03 +02:00
parent 3714371403
commit b8ccbf4092
1 changed files with 6 additions and 4 deletions

View File

@ -140,10 +140,11 @@ unsigned int NzUtility::ComponentCount[nzComponentType_Max+1] =
1, // nzComponentType_Int1
2, // nzComponentType_Int2
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] =
{
@ -159,9 +160,10 @@ unsigned int NzUtility::ComponentStride[nzComponentType_Max+1] =
1*sizeof(nzUInt32), // nzComponentType_Int1
2*sizeof(nzUInt32), // nzComponentType_Int2
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;