Lines Matching refs:s_NormalArray

110     GLfloat* s_NormalArray   = NULL;  variable
307 glBufferData(s_ArrayBufferDataType, s_NormalArraySize, s_NormalArray, GL_STATIC_DRAW); in InitializeCube()
345 s_NormalArray = (f32*)demo::Alloc(s_NormalArraySize); in AllocateCube()
346 if ( s_NormalArray == NULL ) in AllocateCube()
550 s_NormalArray[3 * vertexIndex] = 0.0f; in SetCubeNormal()
551 s_NormalArray[3 * vertexIndex + 1] = -1.0f; in SetCubeNormal()
552 s_NormalArray[3 * vertexIndex + 2] = 0.0f; in SetCubeNormal()
559 s_NormalArray[3 * vertexIndex] = 0.0f; in SetCubeNormal()
560 s_NormalArray[3 * vertexIndex + 1] = 1.0f; in SetCubeNormal()
561 s_NormalArray[3 * vertexIndex + 2] = 0.0f; in SetCubeNormal()
568 s_NormalArray[3 * vertexIndex] = 0.0f; in SetCubeNormal()
569 s_NormalArray[3 * vertexIndex + 1] = 0.0f; in SetCubeNormal()
570 s_NormalArray[3 * vertexIndex + 2] = -1.0f; in SetCubeNormal()
577 s_NormalArray[3 * vertexIndex] = 0.0f; in SetCubeNormal()
578 s_NormalArray[3 * vertexIndex + 1] = 0.0f; in SetCubeNormal()
579 s_NormalArray[3 * vertexIndex + 2] = 1.0f; in SetCubeNormal()
586 s_NormalArray[3 * vertexIndex] = -1.0f; in SetCubeNormal()
587 s_NormalArray[3 * vertexIndex + 1] = 0.0f; in SetCubeNormal()
588 s_NormalArray[3 * vertexIndex + 2] = 1.0f; in SetCubeNormal()
595 s_NormalArray[3 * vertexIndex] = 1.0f; in SetCubeNormal()
596 s_NormalArray[3 * vertexIndex + 1] = 0.0f; in SetCubeNormal()
597 s_NormalArray[3 * vertexIndex + 2] = 0.0f; in SetCubeNormal()
688 glBufferSubData(GL_ARRAY_BUFFER, 0, s_NormalArraySize, s_NormalArray); in UpdateCubeVBO()
745 if ( s_NormalArray != NULL ) in DeallocateCube()
747 demo::Free((void*) s_NormalArray); in DeallocateCube()
748 s_NormalArray = NULL; in DeallocateCube()