mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Appease clippy, add CHANGELOG entry
This commit is contained in:
parent
e17477979f
commit
76ff00757f
@ -74,6 +74,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Jump has been decreased in height but extended in length as a result of the new gravity
|
||||
- Fall damage has been adjusted with the new gravity in mind
|
||||
- Projectiles now generally have a different arc because they no longer have their own gravity modifier
|
||||
- Increased agent system target search efficiency speeding up the server
|
||||
- Added more parallelization to terrain serialization and removed extra cloning speeding up the server
|
||||
|
||||
### Removed
|
||||
|
||||
|
@ -81,11 +81,11 @@ impl SpatialGrid {
|
||||
// TODO: using the circle directly would be tighter (how efficient would it be
|
||||
// to query the cells intersecting a circle?) (note: if doing this rename
|
||||
// the function)
|
||||
pub fn in_circle_aabr<'a>(
|
||||
&'a self,
|
||||
pub fn in_circle_aabr(
|
||||
&self,
|
||||
center: Vec2<f32>,
|
||||
radius: f32,
|
||||
) -> impl Iterator<Item = specs::Entity> + 'a {
|
||||
) -> impl Iterator<Item = specs::Entity> + '_ {
|
||||
let center = center.map(|e| e as i32);
|
||||
let radius = radius.ceil() as i32;
|
||||
// From conversion of center above
|
||||
|
Loading…
Reference in New Issue
Block a user