code: public static Vector3f createRandomDirection(Random random) {
          return createDirectionRad(random.nextFloat() * (float) TrigMath.TWO_PI,
                  random.nextFloat() * (float) 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