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