Tracking (2D or 3D) library of the SMEyeL project