Home
last modified time | relevance | path

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

/third_party/glfw/examples/
H A Dboing.c71 #define BOUNCE_HEIGHT (RADIUS * 2.1f) macro
400 if ( ball_x < -(BOUNCE_HEIGHT/2 + WALL_L_OFFSET) ) in BounceBall()
407 if ( ball_y > BOUNCE_HEIGHT/2 ) in BounceBall()
411 if ( ball_y < -BOUNCE_HEIGHT/2*0.85 ) in BounceBall()
425 deg = (ball_y + BOUNCE_HEIGHT/2) * 90 / BOUNCE_HEIGHT; in BounceBall()

Completed in 1 milliseconds