Lines Matching refs:radius
468 static void draw_grid( f32 ox, f32 oy, f32 radius, GXColor clr ) in draw_grid() argument
470 f32 r = radius * 1.4f ; // Crosshair length in draw_grid()
474 draw_circle( ox,oy, radius, clr, 3 ) ; // Circle in draw_grid()
480 static void draw_acc( f32 ox, f32 oy, f32 radius, f32 ax, f32 ay, GXColor clr, BOOL dashed ) in draw_acc() argument
482 f32 px = ax * radius + ox ; in draw_acc()
483 f32 py = ay * radius + oy ; in draw_acc()
562 static void draw_stick( f32 ox, f32 oy, f32 radius, f32 sx, f32 sy, GXColor clr, BOOL dashed ) in draw_stick() argument
564 f32 px = sx * radius + ox; in draw_stick()
565 f32 py = sy * radius + oy; in draw_stick()
578 static void draw_mpls( f32 ox, f32 oy, f32 radius, f32 val, GXColor clr, BOOL dashed ) in draw_mpls() argument
580 f32 py =-val * radius + oy ; in draw_mpls()
593 static void draw_angle( f32 ox, f32 oy, f32 radius, f32 angle, GXColor clr, BOOL dashed ) in draw_angle() argument
595 f32 px = (f32)( sin(angle * 2 * PI) * radius + ox ) ; in draw_angle()
596 f32 py = (f32)( cos(angle * 2 * PI) * radius + oy ) ; in draw_angle()