/** * Gets the direction vector of a certain theta and phi in degrees. This uses the standard math spherical coordinate system. * * @param theta in degrees * @param phi in degrees * @return the direction vector */ public static Vector3f createDirectionDeg(double theta, double phi) { return createDirectionDeg((float) theta, (float) phi); }
/** * Gets the direction vector of a certain theta and phi in degrees. This uses the standard math spherical coordinate system. * * @param theta in degrees * @param phi in degrees * @return the direction vector */ public static Vector3f createDirectionDeg(double theta, double phi) { return createDirectionDeg((float) theta, (float) phi); }