Home
last modified time | relevance | path

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

/third_party/glfw/examples/
H A Dboing.c64 #define STEP_LONGITUDE 22.5f /* 22.5 makes 8 bands like original Boing */ macro
368 lon_deg += STEP_LONGITUDE ) in DrawBoingBall()
374 lon_deg + STEP_LONGITUDE ); in DrawBoingBall()
491 vert_ne.x = (float) cos_deg( lat_deg ) * (RADIUS * (float) sin_deg( long_lo + STEP_LONGITUDE )); in DrawBoingBallBand()
493 vert_nw.x = (float) cos_deg( lat_deg + STEP_LATITUDE ) * (RADIUS * (float) sin_deg( long_lo + STEP_LONGITUDE )); in DrawBoingBallBand()
496 vert_ne.z = (float) sin_deg( lat_deg ) * (RADIUS * (float) sin_deg( long_lo + STEP_LONGITUDE )); in DrawBoingBallBand()
498 vert_nw.z = (float) sin_deg( lat_deg + STEP_LATITUDE ) * (RADIUS * (float) sin_deg( long_lo + STEP_LONGITUDE )); in DrawBoingBallBand()

Completed in 1 milliseconds