float dot(const float x[3], const float y[3]); void normalize(float x[3]); float sphere_intersect(float y[3], float r[3], const float s[3], const float d[3], const float c[3], float R);