Searched refs:s_NormalArray (Results 1 – 1 of 1) sorted by relevance
110 GLfloat* s_NormalArray = NULL; variable307 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()[all …]