summaryrefslogtreecommitdiff
path: root/3dmath.h
blob: 0b6e0355f6c9668c546d35b14b5ed5a5ce279dc8 (plain) (blame)
1
2
3
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);