/* get the pixel color under the center of car in the function map */
c=getpixel(fun,car->x,car->y);
/* red layer (checkpoints) */
/* get the pixel color under the center of car in the function map */
c=getpixel(fun,car->x,car->y);
/* red layer (checkpoints) */