public static Vector3f createRandomDirection(Random random) {
        return createDirectionRad(random.nextFloat() * (float) TrigMath.TWO_PI,
                random.nextFloat() * (float) TrigMath.TWO_PI);
    }
public static Vector3f createRandomDirection(Random random) {
        return createDirectionRad(random.nextFloat() * (float) TrigMath.TWO_PI,
                random.nextFloat() * (float) TrigMath.TWO_PI);
    }
public static Vector3f createRandomDirection ( Random random ) { return createDirectionRad ( random . nextFloat ( ) * ( float ) TrigMath . TWO_PI , random . nextFloat ( ) * ( float ) TrigMath . TWO_PI ) ; }
Gets the direction vector of a random pitch and yaw using the random specified.

@param random to use
@return the random direction vector
Gets the direction vector of a random pitch and yaw using the random specified .