Lines Matching refs:RADIUS
63 #define RADIUS 70.f
67 #define DIST_BALL (RADIUS * 2.f + RADIUS * 0.1f)
70 #define GRID_SIZE (RADIUS * 4.5f) /* length (width) of grid */
71 #define BOUNCE_HEIGHT (RADIUS * 2.1f)
72 #define BOUNCE_WIDTH (RADIUS * 2.1f)
101 GLfloat ball_x = -RADIUS;
102 GLfloat ball_y = -RADIUS;
225 2.f * (float) atan2( RADIUS, 200.f ),
483 vert_ne.y = vert_nw.y = (float) cos_deg(long_hi) * RADIUS;
484 vert_sw.y = vert_se.y = (float) cos_deg(long_lo) * RADIUS;
491 vert_ne.x = (float) cos_deg( lat_deg ) * (RADIUS * (float) sin_deg( long_lo + STEP_LONGITUDE ));
492 vert_se.x = (float) cos_deg( lat_deg ) * (RADIUS * (float) sin_deg( long_lo ));
493 vert_nw.x = (float) cos_deg( lat_deg + STEP_LATITUDE ) * (RADIUS * (float) sin_deg( long_lo + STEP_LONGITUDE ));
494 vert_sw.x = (float) cos_deg( lat_deg + STEP_LATITUDE ) * (RADIUS * (float) sin_deg( long_lo ));
496 vert_ne.z = (float) sin_deg( lat_deg ) * (RADIUS * (float) sin_deg( long_lo + STEP_LONGITUDE ));
497 vert_se.z = (float) sin_deg( lat_deg ) * (RADIUS * (float) sin_deg( long_lo ));
498 vert_nw.z = (float) sin_deg( lat_deg + STEP_LATITUDE ) * (RADIUS * (float) sin_deg( long_lo + STEP_LONGITUDE ));
499 vert_sw.z = (float) sin_deg( lat_deg + STEP_LATITUDE ) * (RADIUS * (float) sin_deg( long_lo ));