mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
clippy
This commit is contained in:
parent
7ae85aef50
commit
72f2b2eee8
@ -46,6 +46,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Shader dithering to remove banding from scenes with large colour gradients
|
||||
- Convert giant trees to site2
|
||||
- Add new upgraded travelers
|
||||
- Wallrunning
|
||||
|
||||
### Changed
|
||||
|
||||
|
@ -705,7 +705,7 @@ impl FigureMgr {
|
||||
(anim::vek::Vec3::<f32>::from(pos.0),),
|
||||
anim::vek::Quaternion::<f32>::default(),
|
||||
));
|
||||
let wall_dir = physics.on_wall.map(|v| anim::vek::Vec3::from(v));
|
||||
let wall_dir = physics.on_wall.map(anim::vek::Vec3::from);
|
||||
// Maintaining figure data and sending new figure data to the GPU turns out to
|
||||
// be a very expensive operation. We want to avoid doing it as much
|
||||
// as possible, so we make the assumption that players don't care so
|
||||
|
Loading…
Reference in New Issue
Block a user