Searched refs:robot (Results 1 – 2 of 2) sorted by relevance
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingMicrofacet/ |
| D | LightingMicrofacet.cpp | 59 dat_t robot; variable 344 loadDAT( "rom:/resources/robot1.dat", &robot); in LoadObjects() 349 unloadDAT(&robot); in UnloadObjects() 394 for (int i = 0; i < robot.obj_num; i++) in DrawFrame() 396 glBindBuffer(GL_ARRAY_BUFFER, robot.posVB); in DrawFrame() 397 glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, (void*)robot.obj[i].vtx_offset); in DrawFrame() 398 glBindBuffer(GL_ARRAY_BUFFER, robot.normVB); in DrawFrame() 399 glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 0, (void*)robot.obj[i].nrm_offset); in DrawFrame() 401 …for (unsigned j = robot.obj[i].patch_offset; j < robot.obj[i].patch_size + robot.obj[i].patch_offs… in DrawFrame() 403 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, robot.idxVB); in DrawFrame() [all …]
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Api/CommandBufferJump/ |
| D | CommandBufferJump.cpp | 60 dat_t robot; variable 363 loadDAT( "rom:/resources/robot1.dat", &robot); in LoadObjects() 368 unloadDAT(&robot); in UnloadObjects() 444 for (int i = 0; i < robot.obj_num; i++) in CreateCommand() 446 glBindBuffer(GL_ARRAY_BUFFER, robot.posVB); in CreateCommand() 447 glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, (void*)robot.obj[i].vtx_offset); in CreateCommand() 448 glBindBuffer(GL_ARRAY_BUFFER, robot.normVB); in CreateCommand() 449 glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 0, (void*)robot.obj[i].nrm_offset); in CreateCommand() 451 …for (unsigned j = robot.obj[i].patch_offset; j < robot.obj[i].patch_size + robot.obj[i].patch_offs… in CreateCommand() 453 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, robot.idxVB); in CreateCommand() [all …]
|