(20111216) 20:00

This commit is contained in:
2011-12-16 20:00:00 +01:00
parent f67911db62
commit 8ab73e4d2a
12 changed files with 255 additions and 35 deletions

2
Util.c
View File

@@ -40,7 +40,7 @@ int Intersec_RayUnitCircle(vec2 orig,vec2 vel,vec2 center,float *t){
// Solve as a unit circle
a=vec2_dot(vel,vel);
if(fabs(a)<0.0f){
if(fabs(a)<=0.0f){
return(0);
}
vec2_minus(temp,orig,center);