[core] Add symbol-placement: line-center

- Remove unused/vestigial 'maxCameraDistance'
- Create a single collision circle for line labels that are less than half the width of a collision circle
This commit is contained in:
Chris Loer
2018-07-06 13:09:15 -07:00
committed by Chris Loer
parent 870d7fda4d
commit f9b36f9f5b
11 changed files with 114 additions and 47 deletions

View File

@@ -94,7 +94,6 @@ Values makeValues(const bool isText,
uniforms::u_camera_to_center_distance::Value{ state.getCameraToCenterDistance() },
uniforms::u_pitch::Value{ state.getPitch() },
uniforms::u_pitch_with_map::Value{ pitchWithMap },
uniforms::u_max_camera_distance::Value{ values.maxCameraDistance },
uniforms::u_rotate_symbol::Value{ rotateInShader },
uniforms::u_aspect_ratio::Value{ state.getSize().aspectRatio() },
std::forward<Args>(args)...