diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-05-01 16:02:59 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-05-01 16:02:59 -0400 |
| commit | b14dd1c1f3e198137fa8b9e0c4f5e56949b11cd0 (patch) | |
| tree | 68d47ea946136025890265cc2185a728e4593b96 /src/tacmap/camera.rs | |
| parent | 961f8c6d405c9c6fcf9aaf4fb6f199b0e5c60d88 (diff) | |
| download | systemic4x-b14dd1c1f3e198137fa8b9e0c4f5e56949b11cd0.tar.gz systemic4x-b14dd1c1f3e198137fa8b9e0c4f5e56949b11cd0.tar.bz2 systemic4x-b14dd1c1f3e198137fa8b9e0c4f5e56949b11cd0.zip | |
i don't know how to get the line segments to render right
Diffstat (limited to 'src/tacmap/camera.rs')
| -rw-r--r-- | src/tacmap/camera.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tacmap/camera.rs b/src/tacmap/camera.rs index ae9bcfa..ada36ee 100644 --- a/src/tacmap/camera.rs +++ b/src/tacmap/camera.rs @@ -285,7 +285,7 @@ impl CameraController let (az_sin, az_cos) = camera.yaw.0.sin_cos(); let (p_sin, p_cos) = camera.pitch.0.sin_cos(); - let radius = f32::max(target_radius * camera.scale, current_radius + dist_diff).max(0.1); + let radius = 1.0; camera.rel_position = Vector3::new( radius * p_cos * az_cos, radius * p_sin, |
