Increase bettercam's precision
This commit is contained in:
parent
a1aefef4ed
commit
bb2c99ae89
|
@ -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]))
|
||||
|
|
Loading…
Reference in New Issue