| /RvlSDK-3.1/build/demos/gxdemo/src/TexGen/ |
| D | tg-emboss.c | 174 Point3d pos; // in world space member 243 myLight.pos.x = - myLight.dist * 1.0f / M_SQRT3; in myInitModel() 244 myLight.pos.y = - myLight.dist * 1.0f / M_SQRT3; in myInitModel() 245 myLight.pos.z = + myLight.dist * 1.0f / M_SQRT3; in myInitModel() 353 if ( pad->dirs & DEMO_STICK_LEFT ) myLight.pos.x -= 2.0f; in myAnimeModel() 354 if ( pad->dirs & DEMO_STICK_RIGHT ) myLight.pos.x += 2.0f; in myAnimeModel() 355 if ( pad->dirs & DEMO_STICK_UP ) myLight.pos.z += 2.0f; in myAnimeModel() 356 if ( pad->dirs & DEMO_STICK_DOWN ) myLight.pos.z -= 2.0f; in myAnimeModel() 358 r2 = myLight.pos.x * myLight.pos.x + myLight.pos.z * myLight.pos.z; in myAnimeModel() 364 myLight.pos.x *= scale; in myAnimeModel() [all …]
|
| /RvlSDK-3.1/build/demos/gxdemo/src/Lighting/ |
| D | lit-spot.c | 69 Vec pos; member 263 sc->lightEnv.light[i].pos = DefaultLightPos[i]; in DrawInit() 393 lo[sc->cur].pos.x += ( DEMOPadGetSubStickX(0) / 16 ); in AnimTick() 394 Clamp(lo[sc->cur].pos.x, -320, 320); in AnimTick() 395 lo[sc->cur].pos.y += ( DEMOPadGetSubStickY(0) / 16 ); in AnimTick() 396 Clamp(lo[sc->cur].pos.y, -240, 240); in AnimTick() 399 lo[sc->cur].pos.z += ( DEMOPadGetTriggerR(0) / 16 ) in AnimTick() 401 Clamp(lo[sc->cur].pos.z, 50, 600); in AnimTick() 644 len = fabsf(light->pos.z / ldir.z); in DrawLightMark() 645 ldir.x = light->pos.x + ldir.x * len; in DrawLightMark() [all …]
|
| /RvlSDK-3.1/build/demos/hio2demo/vc++/dual/ |
| D | dual.cpp | 38 POSITION pos; in GetActiveView() local 43 pos = GetApp()->GetFirstDocTemplatePosition(); in GetActiveView() 44 if ( pos == NULL ) return NULL; in GetActiveView() 45 pDocTemplate = GetApp()->GetNextDocTemplate(pos); in GetActiveView() 48 pos = pDocTemplate->GetFirstDocPosition(); in GetActiveView() 49 if ( pos == NULL ) return NULL; in GetActiveView() 50 pDoc = static_cast<CDualDoc *>(pDocTemplate->GetNextDoc(pos)); in GetActiveView() 53 pos = pDoc->GetFirstViewPosition(); in GetActiveView() 54 if ( pos == NULL ) return NULL; in GetActiveView() 55 return static_cast<CDualView *>(pDoc->GetNextView(pos)); in GetActiveView() [all …]
|
| /RvlSDK-3.1/build/demos/hio2demo/vc++/multi/ |
| D | multi.cpp | 45 POSITION pos; in GetActiveView() local 50 pos = GetApp()->GetFirstDocTemplatePosition(); in GetActiveView() 51 if ( pos == NULL ) return NULL; in GetActiveView() 52 pDocTemplate = GetApp()->GetNextDocTemplate(pos); in GetActiveView() 55 pos = pDocTemplate->GetFirstDocPosition(); in GetActiveView() 56 if ( pos == NULL ) return NULL; in GetActiveView() 57 while ( pos != NULL ) in GetActiveView() 59 pDoc = static_cast<CMultiDoc *>(pDocTemplate->GetNextDoc(pos)); in GetActiveView() 232 POSITION pos = GetFirstDocTemplatePosition(); in CreateInfo() local 233 ASSERT(pos != NULL); in CreateInfo() [all …]
|
| /RvlSDK-3.1/build/demos/gxdemo/src/Framebuffer/ |
| D | frb-bound-box.c | 63 Vec pos; member 224 sc->cube[i].pos = CubeIniData[i*3]; in DrawInit() 277 if ( sc->cube[i].pos.cmp < - BOUNDARY ) \ 279 if ( sc->cube[i].pos.cmp > BOUNDARY ) \ 299 VECAdd(&sc->cube[i].pos, &sc->cube[i].vel, &sc->cube[i].pos); in AnimTick() 335 MTXTrans(mt, sc->cube[i].pos.x, sc->cube[i].pos.y, sc->cube[i].pos.z); in DrawCubes()
|
| D | frb-copy.c | 601 Vec pos; in DrawCubes() local 614 pos = CubePosArray[i]; in DrawCubes() 615 MTXTrans(mt, pos.x, pos.y, pos.z); in DrawCubes()
|
| /RvlSDK-3.1/build/demos/kpadOlddemo/src/ |
| D | sample.c | 291 Vec2 pos, vec ; in draw_position() local 296 pos.x = pointing_scale * sp->pos.x ; // Center coordinate in draw_position() 297 pos.y = pointing_scale * sp->pos.y ; in draw_position() 302 draw_line( pos.x-vec.x,pos.y-vec.y, pos.x+vec.x,pos.y+vec.y, yellow_clr, 3 ) ; in draw_position() 307 draw_arrow( pos.x+vec.x,pos.y+vec.y, pos.x-vec.x,pos.y-vec.y, silver_clr, 3 ) ; in draw_position() 310 draw_point( pos.x,pos.y, black_clr, 11 ) ; in draw_position() 311 draw_point( pos.x,pos.y, cyan_clr, 9 ) ; in draw_position()
|
| /RvlSDK-3.1/build/demos/kpaddemo/src/ |
| D | sample.c | 358 Vec2 pos, vec ; in draw_position() local 375 pos.x = pointing_scale * sp->pos.x ; // Center coordinate in draw_position() 376 pos.y = pointing_scale * sp->pos.y ; in draw_position() 381 draw_line( pos.x-vec.x,pos.y-vec.y, pos.x+vec.x,pos.y+vec.y, yellow_clr, 3 ) ; in draw_position() 386 draw_arrow( pos.x+vec.x,pos.y+vec.y, pos.x-vec.x,pos.y-vec.y, silver_clr, 3 ) ; in draw_position() 389 draw_point( pos.x,pos.y, black_clr, 11 ) ; in draw_position() 390 draw_point( pos.x,pos.y, cyan_clr, 9 ) ; in draw_position()
|
| /RvlSDK-3.1/build/demos/gddemo/src/ |
| D | gd-indtex-gc.c | 105 Vec pos; member 288 sc->cube[i].pos = CubeIniData[i*3]; in DrawInit() 352 if ( sc->cube[i].pos.cmp < - BOUNDARY ) \ 354 if ( sc->cube[i].pos.cmp > BOUNDARY ) \ 385 VECAdd(&sc->cube[i].pos, &sc->cube[i].vel, &sc->cube[i].pos); in AnimTick() 474 MTXTrans(mt, sc->cube[i].pos.x, sc->cube[i].pos.y, sc->cube[i].pos.z); in DrawModels()
|
| /RvlSDK-3.1/build/libraries/tc/src/ |
| D | TCPaletteList.cpp | 326 u32 pos; in TCFindPalettePos() local 332 pos = 0; in TCFindPalettePos() 338 return pos; in TCFindPalettePos() 341 pos++; in TCFindPalettePos()
|
| D | TCImageList.cpp | 383 u32 pos; in TCFindImagePos() local 389 pos = 0; in TCFindImagePos() 395 return pos; in TCFindImagePos() 398 pos++; in TCFindImagePos()
|
| D | TCTPLToolbox.cpp | 857 u32 pos; in TCSetTplTextureValues() local 876 pos = TCFindImagePos( thisImage ); in TCSetTplTextureValues() 877 thisTex->tplImageOffset = imageDescOffset + ( pos * ImageDescSize); in TCSetTplTextureValues() 884 pos = TCFindPalettePos( thisPalette ); in TCSetTplTextureValues() 885 thisTex->tplPaletteOffset = paletteDescOffset + ( pos * PaletteDescSize); in TCSetTplTextureValues() 1063 u32 pos; in TCWriteTplPaletteBank() local 1077 pos = TCFindPalettePos( plPtr ); in TCWriteTplPaletteBank() 1079 if( plFlags[pos] ) in TCWriteTplPaletteBank() 1081 dataPtr = (void*)( tplPrev + plFlags[pos] ); in TCWriteTplPaletteBank() 1243 u32 pos; in TCWriteTplImageBank() local [all …]
|
| /RvlSDK-3.1/include/revolution/gd/ |
| D | GDGeometry.h | 116 #define CP_VCD_REG_LO(pmidx, t0midx, t1midx, t2midx, t3midx, t4midx, t5midx, t6midx, t7midx, pos, n… argument 126 (((unsigned long)(pos)) << CP_VCD_REG_LO_POS_SHIFT) | \ 131 #define CP_VCD_REG_LO_PS(pmidx, t76543210midx, pos, nrm, col0, col1) \ argument 134 (((unsigned long)(pos)) << CP_VCD_REG_LO_POS_SHIFT) | \
|
| /RvlSDK-3.1/build/libraries/kpad/src/ |
| D | KPAD.c | 386 sp->pos = sp->vec = Vec2_0 ; in reset_kpad() 1265 Vec2 pos, vec ; in calc_dpd_variable() local 1277 pos.x = kp->sec_nrm_hori.x * kp->sec_nrm.x + kp->sec_nrm_hori.y * kp->sec_nrm.y ; in calc_dpd_variable() 1278 pos.y = kp->sec_nrm_hori.y * kp->sec_nrm.x - kp->sec_nrm_hori.x * kp->sec_nrm.y ; in calc_dpd_variable() 1283 sp->horizon = pos ; in calc_dpd_variable() 1288 vec.x = pos.x - sp->horizon.x ; in calc_dpd_variable() 1289 vec.y = pos.y - sp->horizon.y ; in calc_dpd_variable() 1407 pos.x = ( kp->kobj_regular[ 0 ].center.x + kp->kobj_regular[ 1 ].center.x ) * 0.5f ; in calc_dpd_variable() 1408 pos.y = ( kp->kobj_regular[ 0 ].center.y + kp->kobj_regular[ 1 ].center.y ) * 0.5f ; in calc_dpd_variable() 1413 vec.x = f1 * pos.x - f2 * pos.y ; in calc_dpd_variable() [all …]
|
| /RvlSDK-3.1/build/libraries/kpadOld/src/ |
| D | KPAD.c | 268 sp->pos = sp->vec = Vec2_0 ; in reset_kpad() 1282 Vec2 pos, vec ; in calc_dpd_variable() local 1294 pos.x = kp->sec_nrm_hori.x * kp->sec_nrm.x + kp->sec_nrm_hori.y * kp->sec_nrm.y ; in calc_dpd_variable() 1295 pos.y = kp->sec_nrm_hori.y * kp->sec_nrm.x - kp->sec_nrm_hori.x * kp->sec_nrm.y ; in calc_dpd_variable() 1300 sp->horizon = pos ; in calc_dpd_variable() 1305 vec.x = pos.x - sp->horizon.x ; in calc_dpd_variable() 1306 vec.y = pos.y - sp->horizon.y ; in calc_dpd_variable() 1383 pos.x = ( kp->kobj_regular[0].center.x + kp->kobj_regular[1].center.x ) * 0.5f ; in calc_dpd_variable() 1384 pos.y = ( kp->kobj_regular[0].center.y + kp->kobj_regular[1].center.y ) * 0.5f ; in calc_dpd_variable() 1389 vec.x = f1 * pos.x - f2 * pos.y ; in calc_dpd_variable() [all …]
|
| /RvlSDK-3.1/build/demos/reldemo/src/ |
| D | a.cpp | 130 const Vec pos = {0.0f, 0.0f, -10.0f}; in MainA() local
|
| /RvlSDK-3.1/include/revolution/ |
| D | nand.h | 270 u32 *pos; member 338 s32 NANDTell (NANDFileInfo *info, u32 *pos); 339 s32 NANDTellAsync (NANDFileInfo *info, u32 *pos, NANDCallback cb, NANDCommandBlock *block);
|
| D | kpadOld.h | 155 Vec2 pos ; member
|
| D | kpad.h | 120 Vec2 pos ; member
|
| /RvlSDK-3.1/include/revolution/os/ |
| D | OSFont.h | 133 char* OSGetFontTexel ( const char* string, void* image, s32 pos, s32 stride, s32* width );
|