code: public static float normalizeAnglePositive (float a) {
          while (a < 0f) {
              a += TWO_PI;
          }
          while (a >= TWO_PI) {
              a -= TWO_PI;
          }
          return a;
      }
docs: Returns an angle in the range [0, 2pi).