Home
last modified time | relevance | path

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

/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingSss/
DLightingSss.cpp63 dat_t hand; variable
250 loadDAT( "rom:/resources/hand.dat", &hand); in LoadObjects()
279 unloadDAT(&hand); in UnloadObjects()
406 for (int i = 0; i < hand.obj_num; i++) in DrawFrame()
408 glBindBuffer(GL_ARRAY_BUFFER, hand.posVB); in DrawFrame()
409 glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, (void*)hand.obj[i].vtx_offset); in DrawFrame()
410 glBindBuffer(GL_ARRAY_BUFFER, hand.normVB); in DrawFrame()
411 glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 0, (void*)hand.obj[i].nrm_offset); in DrawFrame()
413 …for (unsigned j = hand.obj[i].patch_offset; j < hand.obj[i].patch_size + hand.obj[i].patch_offset;… in DrawFrame()
420 ma[col] = hand.patch[j].ambient[col]; in DrawFrame()
[all …]