Increase bettercam's precision

This commit is contained in:
MysterD 2020-09-22 22:14:43 -07:00
parent a1aefef4ed
commit bb2c99ae89
1 changed files with 1 additions and 1 deletions

View File

@ -978,7 +978,7 @@ void find_surface_on_ray(Vec3f orig, Vec3f dir, struct Surface **hit_surface, Ve
}
// increase collision checking precision (normally 1)
f32 precision = 2;
f32 precision = 5;
// Get cells we cross using DDA
if (absx(dir[0]) >= absx(dir[2]))