mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Increase bettercam's precision
This commit is contained in:
parent
5c2673f5af
commit
94b7cf7df6
1 changed files with 1 additions and 1 deletions
|
|
@ -978,7 +978,7 @@ void find_surface_on_ray(Vec3f orig, Vec3f dir, struct Surface **hit_surface, Ve
|
||||||
}
|
}
|
||||||
|
|
||||||
// increase collision checking precision (normally 1)
|
// increase collision checking precision (normally 1)
|
||||||
f32 precision = 2;
|
f32 precision = 5;
|
||||||
|
|
||||||
// Get cells we cross using DDA
|
// Get cells we cross using DDA
|
||||||
if (absx(dir[0]) >= absx(dir[2]))
|
if (absx(dir[0]) >= absx(dir[2]))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue