Home
last modified time | relevance | path

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

/RvlSDK-2.1/build/libraries/pad/src/
DPadclamp.c222 static void ClampCircle(s8* px, s8* py, s8 radius, s8 min) in ClampCircle() argument
259 if (radius*radius < squared) in ClampCircle()
263 x = (x * radius) / length; in ClampCircle()
264 y = (y * radius) / length; in ClampCircle()
/RvlSDK-2.1/build/demos/kpaddemo/src/
Dsample.c287 static void draw_grid( f32 ox, f32 oy, f32 radius, GXColor clr ) in draw_grid() argument
289 f32 r = radius * 1.4f ; // Cross length in draw_grid()
293 draw_circle( ox,oy, radius, clr, 3 ) ; // Circle in draw_grid()
300 static void draw_acc( f32 ox, f32 oy, f32 radius, f32 ax, f32 ay ) in draw_acc() argument
302 f32 px = ax * radius + ox ; in draw_acc()
303 f32 py = ay * radius + oy ; in draw_acc()
313 static void draw_acc2( f32 ox, f32 oy, f32 radius, f32 ax, f32 ay ) in draw_acc2() argument
315 f32 px = ax * radius + ox ; in draw_acc2()
316 f32 py = ay * radius + oy ; in draw_acc2()
323 static void draw_stick( f32 ox, f32 oy, f32 radius, f32 sx, f32 sy, GXColor clr, BOOL dashed ) in draw_stick() argument
[all …]
Dgraphic.c200 void draw_circle( f32 ox, f32 oy, f32 radius, GXColor clr, f32 width ) in draw_circle() argument
208 if ( radius < width * 0.1f ) { in draw_circle()
219 vx = radius ; in draw_circle()
231 f = radius / sqrtf( vx * vx + vy * vy ) ; in draw_circle()
236 GXPosition2f32( ox + radius, oy ) ; // The first point is the same as the start point in draw_circle()
/RvlSDK-2.1/build/libraries/wpad/src/
DWPADClamp.c39 static void __ClampStickCircle ( void *px, void *py, s16 radius, s16 min, u8 type );
474 static void __ClampStickCircle(void *px, void *py, s16 radius, s16 min, u8 type) in __ClampStickCircle() argument
522 if (radius*radius < squared) in __ClampStickCircle()
526 x = (x * radius) / length; in __ClampStickCircle()
527 y = (y * radius) / length; in __ClampStickCircle()
/RvlSDK-2.1/build/demos/kpaddemo/include/
Dgraphic.h43 extern void draw_circle( f32 ox, f32 oy, f32 radius, GXColor clr, f32 width ) ;
/RvlSDK-2.1/build/demos/gxdemo/src/Culling/
Dcul-viewport.c339 f32 radius; member
370 mySphere[i].radius = 10.0f; in myInitModel()
437 mmtx[0][0] = mmtx[1][1] = mmtx[2][2] = mySphere[i].radius; in myDrawModel()
/RvlSDK-2.1/include/revolution/
Dwpad.h406 s8 radius; member