Searched refs:dist2center (Results 1 – 1 of 1) sorted by relevance
155 float dist2center = sqrt(cam_coord.x * cam_coord.x + cam_coord.y * cam_coord.y); in cal_image_coord() local156 float angle = atan(cam_coord.z / dist2center); in cal_image_coord()163 if (dist2center != 0) { in cal_image_coord()169 float image_x = cam_coord.x * poly_sum / dist2center; in cal_image_coord()170 float image_y = cam_coord.y * poly_sum / dist2center; in cal_image_coord()