Appease clippy, add CHANGELOG entry

This commit is contained in:
Imbris 2021-03-29 02:58:57 -04:00
parent e17477979f
commit 76ff00757f
2 changed files with 5 additions and 3 deletions

View File

@ -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 - 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 - 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 - 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 ### Removed

View File

@ -81,11 +81,11 @@ impl SpatialGrid {
// TODO: using the circle directly would be tighter (how efficient would it be // 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 // to query the cells intersecting a circle?) (note: if doing this rename
// the function) // the function)
pub fn in_circle_aabr<'a>( pub fn in_circle_aabr(
&'a self, &self,
center: Vec2<f32>, center: Vec2<f32>,
radius: f32, radius: f32,
) -> impl Iterator<Item = specs::Entity> + 'a { ) -> impl Iterator<Item = specs::Entity> + '_ {
let center = center.map(|e| e as i32); let center = center.map(|e| e as i32);
let radius = radius.ceil() as i32; let radius = radius.ceil() as i32;
// From conversion of center above // From conversion of center above