Added Quaternion component type

Not compatible with Vertex Declaration though


Former-commit-id: 3174553981ab23fe59ed616c2ce1a27bf7db0108
This commit is contained in:
Lynix
2014-07-13 09:29:12 +02:00
parent 7d5876d505
commit 7a6195991c
3 changed files with 13 additions and 3 deletions

View File

@@ -1931,10 +1931,11 @@ GLenum NzOpenGL::ComponentType[] =
GL_INT, // nzComponentType_Int1
GL_INT, // nzComponentType_Int2
GL_INT, // nzComponentType_Int3
GL_INT // nzComponentType_Int4
GL_INT, // nzComponentType_Int4
GL_FLOAT // nzComponentType_Quaternion
};
static_assert(nzComponentType_Max+1 == 13, "Attribute type array is incomplete");
static_assert(nzComponentType_Max+1 == 14, "Attribute type array is incomplete");
GLenum NzOpenGL::CubemapFace[] =
{