| /RvlSDK-3.2/include/revolution/gx/ |
| D | GXLighting.h | 98 f32 a0, 99 f32 a1, 100 f32 a2, 101 f32 k0, 102 f32 k1, 103 f32 k2 ); 105 void GXInitLightAttnA ( GXLightObj *lt_obj, f32 a0, f32 a1, f32 a2); 106 void GXInitLightAttnK ( GXLightObj *lt_obj, f32 k0, f32 k1, f32 k2 ); 110 f32 cutoff, 115 f32 ref_distance, [all …]
|
| D | GXTransform.h | 96 void GXSetProjection ( const f32 mtx[4][4], GXProjectionType type ); 97 void GXSetProjectionv ( const f32 *ptr ); 98 void GXLoadPosMtxImm ( const f32 mtx[3][4], u32 id ); 100 void GXLoadNrmMtxImm ( const f32 mtx[3][4], u32 id ); 101 void GXLoadNrmMtxImm3x3 ( const f32 mtx[3][3], u32 id ); 104 void GXLoadTexMtxImm ( const f32 mtx[][4], u32 id, GXTexMtxType type ); 108 f32 x, // Model coordinates 109 f32 y, 110 f32 z, 111 const f32 mtx[3][4], // Model-view matrix [all …]
|
| D | GXGet.h | 112 void GXGetViewportv( f32* viewport ); // Used by GXProject 113 void GXGetProjectionv( f32* p ); // Used by GXProject 115 static inline void GXGetViewport( f32 *left, f32 *top, in GXGetViewport() 116 f32 *wd, f32 *ht, in GXGetViewport() 117 f32 *nearz, f32 *farz ) in GXGetViewport() 119 f32 vp[6]; in GXGetViewport() 142 f32* a0, 143 f32* a1, 144 f32* a2 ); 148 f32* k0, [all …]
|
| /RvlSDK-3.2/build/demos/kpaddemo/include/ |
| D | graphic.h | 38 extern void draw_point( f32 px, f32 py, GXColor clr, f32 size ) ; 39 extern void draw_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) ; 40 extern void draw_dashed_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ); 41 extern void draw_arrow( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) ; 42 extern void draw_dashed_arrow( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ); 43 extern void draw_circle( f32 ox, f32 oy, f32 radius, GXColor clr, f32 width ) ;
|
| D | kfont.h | 25 extern void init_draw_kfont( u16 fb_width, u16 fb_height, f32 lt_width, f32 lt_height ) ; 26 extern s32 draw_kfont_s32( f32 cx, f32 cy, GXColor clr, s32 val ) ; 27 extern s32 draw_kfont_f32( f32 cx, f32 cy, GXColor clr, f32 val, s32 keta ) ; 28 extern void draw_kfont_bit( f32 cx, f32 cy, GXColor clr, u32 val, s32 keta ) ; 29 extern void draw_kfont_letter( f32 cx, f32 cy, GXColor clr, char *str ) ; 31 extern f32 calc_kfont_x1( f32 cx ) ; 32 extern f32 calc_kfont_y1( f32 cy ) ; 33 extern f32 calc_kfont_x2( f32 cx ) ; 34 extern f32 calc_kfont_y2( f32 cy ) ;
|
| /RvlSDK-3.2/build/demos/kpadOlddemo/include/ |
| D | graphic.h | 38 extern void draw_point( f32 px, f32 py, GXColor clr, f32 size ) ; 39 extern void draw_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) ; 40 extern void draw_dashed_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ); 41 extern void draw_arrow( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) ; 42 extern void draw_dashed_arrow( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ); 43 extern void draw_circle( f32 ox, f32 oy, f32 radius, GXColor clr, f32 width ) ;
|
| D | kfont.h | 25 extern void init_draw_kfont( u16 fb_width, u16 fb_height, f32 lt_width, f32 lt_height ) ; 26 extern s32 draw_kfont_s32( f32 cx, f32 cy, GXColor clr, s32 val ) ; 27 extern s32 draw_kfont_f32( f32 cx, f32 cy, GXColor clr, f32 val, s32 keta ) ; 28 extern void draw_kfont_bit( f32 cx, f32 cy, GXColor clr, u32 val, s32 keta ) ; 29 extern void draw_kfont_letter( f32 cx, f32 cy, GXColor clr, char *str ) ; 31 extern f32 calc_kfont_x1( f32 cx ) ; 32 extern f32 calc_kfont_y1( f32 cy ) ; 33 extern f32 calc_kfont_x2( f32 cx ) ; 34 extern f32 calc_kfont_y2( f32 cy ) ;
|
| /RvlSDK-3.2/include/revolution/ |
| D | axfx.h | 193 f32 *earlyLine[3]; 197 f32 earlyCoef[3]; 198 f32 *preDelayLine[3]; 202 f32 *combLine[3][3]; 206 f32 combCoef[3]; 207 f32 *allpassLine[3][2]; 211 f32 *lastAllpassLine[3]; 215 f32 allpassCoef; 216 f32 lastLpfOut[3]; 217 f32 lpfCoef; [all …]
|
| D | mtx.h | 293 void C_MTXTrans ( Mtx m, f32 xT, f32 yT, f32 zT ); 294 void C_MTXTransApply ( const Mtx src, Mtx dst, f32 xT, f32 yT, f32 zT ); 295 void C_MTXScale ( Mtx m, f32 xS, f32 yS, f32 zS ); 296 void C_MTXScaleApply ( const Mtx src, Mtx dst, f32 xS, f32 yS, f32 zS ); 298 void C_MTXRotRad ( Mtx m, char axis, f32 rad ); 299 void C_MTXRotTrig ( Mtx m, char axis, f32 sinA, f32 cosA ); 300 void C_MTXRotAxisRad ( Mtx m, const Vec *axis, f32 rad ); 307 void PSMTXTrans ( Mtx m, f32 xT, f32 yT, f32 zT ); 308 void PSMTXTransApply ( const Mtx src, Mtx dst, f32 xT, f32 yT, f32 zT ); 309 void PSMTXScale ( Mtx m, f32 xS, f32 yS, f32 zS ); [all …]
|
| D | kpad.h | 96 f32 x; 97 f32 y; 101 f32 left; 102 f32 top; 103 f32 right; 104 f32 bottom; 112 f32 acc_value ; 113 f32 acc_speed ; 124 f32 ltrigger ; 125 f32 rtrigger ; [all …]
|
| D | kpadOld.h | 102 f32 x; 103 f32 y; 107 f32 left; 108 f32 top; 109 f32 right; 110 f32 bottom; 118 f32 acc_value ; 119 f32 acc_speed ; 130 f32 ltrigger; 131 f32 rtrigger; [all …]
|
| /RvlSDK-3.2/build/libraries/kpad/include/ |
| D | KPADinside.h | 73 f32 pos_play_radius ; // Tolerance radius (size at pos coordinate system) 74 f32 pos_sensitivity ; // Tracking sensitivity (0: slow -> 1: sensitive) 76 f32 hori_play_radius ; // Adjust response of the 'horizon' 77 f32 hori_sensitivity ; // 79 f32 dist_play_radius ; // Adjust response of the 'dist' 80 f32 dist_sensitivity ; // 82 f32 acc_play_radius ; // Adjust the response of 'acc' 83 f32 acc_sensitivity ; // 86 f32 dist_org ; // Distance after calibration 90 …f32 dpd2pos_scale ; // Scale value where the left and right pointing edge in the shooting … [all …]
|
| /RvlSDK-3.2/build/libraries/kpadOld/include/ |
| D | KPADinside.h | 70 f32 pos_play_radius ; // Tolerance radius (size at pos coordinate system) 71 f32 pos_sensitivity ; // Tracking sensitivity (0: slow -> 1: sensitive) 73 f32 hori_play_radius ; // Adjust response of 'horizon' 74 f32 hori_sensitivity ; // 76 f32 dist_play_radius ; // Adjust response of 'dist' 77 f32 dist_sensitivity ; // 79 f32 acc_play_radius ; // Adjust the response of 'acc' 80 f32 acc_sensitivity ; // 83 f32 dist_org ; // Distance at calibration 87 …f32 dpd2pos_scale ; // Scale value where the left and right pointing edge in the shooting … [all …]
|
| /RvlSDK-3.2/include/revolution/mtx/ |
| D | mtx44ext.h | 125 void C_MTX44Trans ( Mtx44 m, f32 xT, f32 yT, f32 zT ); 126 void C_MTX44TransApply ( const Mtx44 src, Mtx44 dst, f32 xT, f32 yT, f32 zT ); 127 void C_MTX44Scale ( Mtx44 m, f32 xS, f32 yS, f32 zS ); 128 void C_MTX44ScaleApply ( const Mtx44 src, Mtx44 dst, f32 xS, f32 yS, f32 zS ); 130 void C_MTX44RotRad ( Mtx44 m, char axis, f32 rad ); 131 void C_MTX44RotTrig ( Mtx44 m, char axis, f32 sinA, f32 cosA ); 132 void C_MTX44RotAxisRad ( Mtx44 m, const Vec *axis, f32 rad); 136 void PSMTX44Trans ( Mtx44 m, f32 xT, f32 yT, f32 zT ); 137 void PSMTX44TransApply ( const Mtx44 src, Mtx44 dst, f32 xT, f32 yT, f32 zT ); 138 void PSMTX44Scale ( Mtx44 m, f32 xS, f32 yS, f32 zS ); [all …]
|
| D | GeoTypes.h | 57 f32 x, y, z; 79 f32 x, y, z, w; 85 typedef f32 Mtx[3][4]; 87 typedef f32 (*MtxPtr)[4]; 90 typedef f32 ROMtx[4][3]; 92 typedef f32 (*ROMtxPtr)[3]; 98 typedef f32 Mtx44[4][4]; 100 typedef f32 (*Mtx44Ptr)[4];
|
| /RvlSDK-3.2/build/demos/kpadOlddemo/src/ |
| D | kfont.c | 35 static f32 canvas_wd,canvas_ht ; // Virtual canvas size 36 static f32 cursor_wd,cursor_ht ; // Cursor size 38 static f32 cursor_x1,cursor_y1 ; // Coordinate of upper leftmost cursor 39 static f32 letter_ox,letter_oy ; // Offset from the cursor position to the character position 40 static f32 letter_wd,letter_ht ; // Character size 46 static f32 s1_ofs ; // Adjust the display of fonts that differ between the Japanese and US versions… 47 static f32 s2_ofs ; // 48 static f32 t1_ofs ; // 78 s1_ofs = 0.15f * (f32)KFONT_WD / (f32)KFONT_SHEET_WD ; in init_kfont_texture() 79 s2_ofs = -0.30f * (f32)KFONT_WD / (f32)KFONT_SHEET_WD ; in init_kfont_texture() [all …]
|
| D | graphic.c | 49 f32 canvas_wd, canvas_ht ; in init_draw_graphic() 101 void draw_point( f32 px, f32 py, GXColor clr, f32 size ) in draw_point() 115 void draw_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_line() 130 void draw_dashed_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_dashed_line() 134 f32 dx = x2 - x1; in draw_dashed_line() 135 f32 dy = y2 - y1; in draw_dashed_line() 136 f32 length = (f32)sqrt(dx*dx + dy*dy); in draw_dashed_line() 152 void draw_arrow( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_arrow() 154 f32 vx,vy, f ; in draw_arrow() 176 void draw_dashed_arrow( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_dashed_arrow() [all …]
|
| D | sample.c | 49 static f32 pointing_scale = 200.0f ; // Screen pointing scale 51 static f32 obj_interval = 0.20f ; // TV side light emitting point placement interval (in meters) 53 static f32 pos_play_radius = 0.00f ; // 'pos' sensitivity setting 54 static f32 pos_sensitivity = 1.00f ; 55 static f32 hori_play_radius = 0.00f ; // 'horizon' sensitivity setting 56 static f32 hori_sensitivity = 1.00f ; 57 static f32 dist_play_radius = 0.00f ; // 'dist' sensitivity setting 58 static f32 dist_sensitivity = 1.00f ; 59 static f32 acc_play_radius = 0.00f ; // 'acc' sensitivity setting 60 static f32 acc_sensitivity = 1.00f ; [all …]
|
| /RvlSDK-3.2/build/demos/kpaddemo/src/ |
| D | kfont.c | 35 static f32 canvas_wd,canvas_ht ; // Virtual canvas size 36 static f32 cursor_wd,cursor_ht ; // Cursor size 38 static f32 cursor_x1,cursor_y1 ; // Coordinate of upper leftmost cursor 39 static f32 letter_ox,letter_oy ; // Offset from the cursor position to the character position 40 static f32 letter_wd,letter_ht ; // Character size 46 static f32 s1_ofs ; // Adjust the display of fonts that differ between the Japanese and US versi… 47 static f32 s2_ofs ; // 48 static f32 t1_ofs ; // 78 s1_ofs = 0.15f * (f32)KFONT_WD / (f32)KFONT_SHEET_WD ; in init_kfont_texture() 79 s2_ofs = -0.30f * (f32)KFONT_WD / (f32)KFONT_SHEET_WD ; in init_kfont_texture() [all …]
|
| D | graphic.c | 47 f32 canvas_wd, canvas_ht ; in init_draw_graphic() 95 void draw_point( f32 px, f32 py, GXColor clr, f32 size ) in draw_point() 109 void draw_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_line() 124 void draw_dashed_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_dashed_line() 128 f32 dx = x2 - x1; in draw_dashed_line() 129 f32 dy = y2 - y1; in draw_dashed_line() 130 f32 length = (f32)sqrt(dx*dx + dy*dy); in draw_dashed_line() 146 void draw_arrow( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_arrow() 148 f32 vx,vy, f ; in draw_arrow() 169 void draw_dashed_arrow( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_dashed_arrow() [all …]
|
| /RvlSDK-3.2/build/demos/gxdemo/src/G2D/ |
| D | G2D-testPhy.c | 55 f32 rWorldWidth, rWorldHeight; 61 static f32 rVelX = 0.0F, rVelY = 0.0F; 62 static f32 rAngV = 0.0F; 63 f32 rAng = 0.0F; 64 static f32 rRelCamX, rRelCamY, rCamA; 65 static f32 rCVelX, rCVelY, rCVelA; 66 static f32 rCIntX, rCIntY, rCIntA; 67 static f32 rCamI; 84 f32 rPosX; 85 f32 rPosY; [all …]
|
| /RvlSDK-3.2/include/revolution/os/ |
| D | OSFastCast.h | 232 static inline f32 __OSu8tof32(register u8* in) in __OSu8tof32() 234 register f32 r; in __OSu8tof32() 242 static inline void OSu8tof32(register u8* in, volatile register f32* out) in OSu8tof32() 248 static inline f32 __OSu16tof32(register u16* in) in __OSu16tof32() 250 register f32 r; in __OSu16tof32() 258 static inline void OSu16tof32(register u16* in, volatile register f32* out) in OSu16tof32() 264 static inline f32 __OSs8tof32(register s8* in) in __OSs8tof32() 266 register f32 r; in __OSs8tof32() 274 static inline void OSs8tof32(register s8* in, volatile register f32* out) in OSs8tof32() 280 static inline f32 __OSs16tof32(register s16* in) in __OSs16tof32() [all …]
|
| /RvlSDK-3.2/include/revolution/gd/ |
| D | GDLight.h | 74 f32 a0, f32 a1, f32 a2, 75 f32 k0, f32 k1, f32 k2 ); 78 f32 cutoff, 82 f32 ref_distance, 83 f32 ref_brightness, 88 void GDSetLightPos ( GXLightID light, f32 x, f32 y, f32 z ); 90 void GDSetLightDir ( GXLightID light, f32 nx, f32 ny, f32 nz ); 92 void GDSetSpecularDir ( GXLightID light, f32 nx, f32 ny, f32 nz ); 94 void GDSetSpecularDirHA ( GXLightID light, f32 nx, f32 ny, f32 nz, f32 hx, f32 hy, f32 hz ); 117 static inline void GDSetLightShininess( GXLightID light, f32 shininess ) in GDSetLightShininess()
|
| /RvlSDK-3.2/build/libraries/gd/src/ |
| D | GDLight.c | 75 f32 a0, f32 a1, f32 a2, in GDSetLightAttn() 76 f32 k0, f32 k1, f32 k2 ) in GDSetLightAttn() 101 void GDSetLightSpot( GXLightID light, f32 cutoff, GXSpotFn spot_func ) in GDSetLightSpot() 103 f32 a0, a1, a2, r, d, cr; in GDSetLightSpot() 173 void GDSetLightDistAttn( GXLightID light, f32 ref_dist, f32 ref_br, in GDSetLightDistAttn() 176 f32 k0, k1, k2; in GDSetLightDistAttn() 244 void GDSetLightPos ( GXLightID light, f32 x, f32 y, f32 z ) in GDSetLightPos() 264 void GDSetLightDir ( GXLightID light, f32 nx, f32 ny, f32 nz ) in GDSetLightDir() 287 void GDSetSpecularDirHA ( GXLightID light, f32 nx, f32 ny, f32 nz, f32 hx, f32 hy, f32 hz ) in GDSetSpecularDirHA() 289 f32 px, py, pz; in GDSetSpecularDirHA() [all …]
|
| /RvlSDK-3.2/build/libraries/wpad/src/ |
| D | WPADClamp.c | 44 static void __ClampCube ( s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max ); 45 static void __ClampSphere ( s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max ); 586 static void __ClampCube(s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max) in __ClampCube() 588 f32 x = (f32)((f32)*px / (f32)unit.x); in __ClampCube() 589 f32 y = (f32)((f32)*py / (f32)unit.y); in __ClampCube() 590 f32 z = (f32)((f32)*pz / (f32)unit.z); in __ClampCube() 591 f32 signX = 1.0f; in __ClampCube() 592 f32 signY = 1.0f; in __ClampCube() 593 f32 signZ = 1.0f; in __ClampCube() 628 *px = (s16)(x * (f32)unit.x); in __ClampCube() [all …]
|