*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1526 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-12-30 00:38:47 +00:00
parent afad80be3e
commit eb33e3e105
11 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ float raycube(const vec &o, const vec &ray, vec &surface)
surface = vec(0, 0, ray.z>0 ? -1 : 1);
}
}
dist = max(dist-0.1f, 0);
dist = max(dist-0.1f, 0.0f);
break;
}
dx = ray.x ? (x + (ray.x > 0 ? 1 : 0) - v.x)/ray.x : 1e16f;