(20111216) 20:00

This commit is contained in:
2011-12-16 20:00:00 +01:00
parent 5a8cfe79bd
commit 0f403b8234
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);