spat: fix get_search_angle
This commit is contained in:
parent
c771afe744
commit
1b504b1ee2
1 changed files with 2 additions and 2 deletions
|
|
@ -475,8 +475,8 @@ impl State {
|
|||
|
||||
#[cfg(feature = "spat")]
|
||||
fn get_search_angle(distance: f32) -> f32 {
|
||||
let (dist_near, angle_near) = GLOSA_SEARCH_ANGLE_PARAMS[0];
|
||||
let (dist_far, angle_far) = GLOSA_SEARCH_ANGLE_PARAMS[1];
|
||||
let (dist_far, angle_far) = GLOSA_SEARCH_ANGLE_PARAMS[0];
|
||||
let (dist_near, angle_near) = GLOSA_SEARCH_ANGLE_PARAMS[1];
|
||||
|
||||
if distance > dist_far {
|
||||
angle_far
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue