Home
last modified time | relevance | path

Searched refs:s_NormalArray (Results 1 – 1 of 1) sorted by relevance

/CTR-SDK-4.2.7-SampleDemos/gx/Api/VertexBuffer/
Dgx_VertexBuffer.cpp110 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()
[all …]