Home
last modified time | relevance | path

Searched refs:BALL_POS_Y_MAX (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/samples/boards/bbc/microbit/pong/src/
Dmain.c42 #define BALL_POS_Y_MAX 39 /* Maximum ball Y coordinate */ macro
53 #define BALL_START (struct x_y){ 4, BALL_POS_Y_MAX }
365 if (ball_vel.y > 0 && ball_pos.y > BALL_POS_Y_MAX) { in game_refresh()
375 ball_pos.y = (2 * BALL_POS_Y_MAX) - ball_pos.y; in game_refresh()