summaryrefslogtreecommitdiff
path: root/3dmath.h
blob: 4135f3b51c2e11ff04b9e662a8264df9eb6f2a5e (plain) (blame)
1
2
3
float dot(float x[3], float y[3]);
void normalize(float x[3]);
float sphere_intersect(float y[3], float r[3], float s[3], float d[3], float c[3], float R);