Home
last modified time | relevance | path

Searched refs:lat_deg (Results 1 - 1 of 1) sorted by relevance

/third_party/glfw/examples/
H A Dboing.c447 GLfloat lat_deg; in DrawBoingBallBand() local
454 for ( lat_deg = 0; in DrawBoingBallBand()
455 lat_deg <= (360 - STEP_LATITUDE); in DrawBoingBallBand()
456 lat_deg += STEP_LATITUDE ) in DrawBoingBallBand()
466 if ( lat_deg >= 180 ) in DrawBoingBallBand()
491 vert_ne.x = (float) cos_deg( lat_deg ) * (RADIUS * (float) sin_deg( long_lo + STEP_LONGITUDE )); in DrawBoingBallBand()
492 vert_se.x = (float) cos_deg( lat_deg ) * (RADIUS * (float) sin_deg( long_lo )); in DrawBoingBallBand()
493 vert_nw.x = (float) cos_deg( lat_deg + STEP_LATITUDE ) * (RADIUS * (float) sin_deg( long_lo + STEP_LONGITUDE )); in DrawBoingBallBand()
494 vert_sw.x = (float) cos_deg( lat_deg + STEP_LATITUDE ) * (RADIUS * (float) sin_deg( long_lo )); in DrawBoingBallBand()
496 vert_ne.z = (float) sin_deg( lat_deg ) * (RADIU in DrawBoingBallBand()
[all...]

Completed in 2 milliseconds