# fromSpherical
Converts from spherical to Cartesian coordinates. x, y, and z input coordinates correspond to radius, theta, and phi respectively.
vec3 fromSpherical(vec3 p);
# Example
← rgb2hsv toSpherical →
Converts from spherical to Cartesian coordinates. x, y, and z input coordinates correspond to radius, theta, and phi respectively.
vec3 fromSpherical(vec3 p);
← rgb2hsv toSpherical →