DEVICE FOR THREE-DIMENSIONAL DETECTION, IN PARTICULAR LIDAR DEVICE