code: public static Vector3d createRandomDirection(Random random) {
          return createDirectionRad(random.nextDouble() * (double) TrigMath.TWO_PI,
                  random.nextDouble() * (double) TrigMath.TWO_PI);
      }
docs: Gets the direction vector of a random pitch and yaw using the random specified.
  
  @param random to use
  @return the random direction vector