Searched refs:posArray (Results 1 – 4 of 4) sorted by relevance
| /RvlSDK-3.1.4/build/demos/gxdemo/src/Lighting/ |
| D | lit-tx-alpha.c | 69 f32* posArray; member 219 sc->panel.posArray = MEMAllocFromAllocator(&DemoAllocator1, PANEL_ARRAY_SIZE * sizeof(f32)); in DrawInit() 220 ASSERT( sc->panel.posArray != 0 ); in DrawInit() 457 pnl->posArray[in] = px; in CreateTessPanel() 458 pnl->posArray[in+1] = py; in CreateTessPanel() 459 pnl->posArray[in+2] = pz; in CreateTessPanel() 469 DCFlushRange(pnl->posArray, PANEL_ARRAY_SIZE * sizeof(f32)); in CreateTessPanel() 500 GXSetArray(GX_VA_POS, pnl->posArray, 3 * sizeof(f32)); in DrawTessPanel()
|
| D | lit-spot.c | 87 f32* posArray; member 273 sc->panel.posArray = MEMAllocFromAllocator(&DemoAllocator1, PANEL_ARRAY_SIZE * sizeof(f32)); in DrawInit() 274 ASSERT( sc->panel.posArray != 0 ); in DrawInit() 564 pnl->posArray[in] = px; in CreateTessPanel() 565 pnl->posArray[in+1] = py; in CreateTessPanel() 566 pnl->posArray[in+2] = pz; in CreateTessPanel() 576 DCFlushRange(pnl->posArray, PANEL_ARRAY_SIZE * sizeof(f32)); in CreateTessPanel() 604 GXSetArray(GX_VA_POS, pnl->posArray, 3 * sizeof(f32)); in DrawTessPanel()
|
| /RvlSDK-3.1.4/build/demos/gxdemo/src/Tev/ |
| D | tev-complex.c | 125 s16* posArray; member 398 sc->model.posArray = NULL; in DrawInit() 504 if ( mo->posArray != NULL ) in CreateModel() 505 MEMFreeToAllocator(&DemoAllocator1, mo->posArray); in CreateModel() 515 mo->posArray = (s16*)MEMAllocFromAllocator(&DemoAllocator1, size_p * sizeof(s16)); in CreateModel() 537 mo->posArray[cnt_p++] = (s16)(fr * cosf(ft) * SCALE_Q); in CreateModel() 538 mo->posArray[cnt_p++] = (s16)(fr * sinf(ft) * SCALE_Q); in CreateModel() 539 mo->posArray[cnt_p++] = (s16)(MODEL_R * sinf(fs) * SCALE_Q); in CreateModel() 559 DCFlushRange(mo->posArray, size_p * sizeof(s16)); in CreateModel() 580 GXSetArray(GX_VA_POS, mo->posArray, sizeof(s16) * 3); in DrawModel()
|
| /RvlSDK-3.1.4/build/demos/gddemo/src/ |
| D | gd-tev-gc.c | 103 s16* posArray; member 618 mo->posArray = (s16*)OSAlloc(size_p * sizeof(s16)); in CreateModelVtxArray() 642 mo->posArray[cnt_p++] = (s16)(((f32)j*2 / MODEL_MESHX - 1.0F) * QSCALE); in CreateModelVtxArray() 643 mo->posArray[cnt_p++] = (s16)(((f32)i*2 / MODEL_MESHY - 1.0F) * QSCALE); in CreateModelVtxArray() 644 mo->posArray[cnt_p++] = (s16)(MODEL_ZSCALE * ct * cp * QSCALE); in CreateModelVtxArray() 668 DCFlushRange(mo->posArray, size_p * sizeof(s16)); in CreateModelVtxArray() 673 GXSetArray(GX_VA_POS, mo->posArray, sizeof(s16) * 3); in CreateModelVtxArray()
|