Home
last modified time | relevance | path

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

/openbsd/games/atc/
H A Dinput.c416 p.new_dir = DIR_FROM_DXDY(xdiff, ydiff); in delayb()
508 p.new_dir = DIR_FROM_DXDY(sp->beacon[(int)c].x - p.xpos, in benum()
514 p.new_dir = DIR_FROM_DXDY(sp->exit[(int)c].x - p.xpos, in benum()
520 p.new_dir = DIR_FROM_DXDY(sp->airport[(int)c].x - p.xpos, in benum()
H A Ddef.h55 #define DIR_FROM_DXDY(dx,dy) ((int) (atan2((double)(dy), (double)(dx)) \ macro