This commit is contained in:
jshipsey 2022-02-09 19:33:40 -05:00
parent 7ae85aef50
commit 72f2b2eee8
2 changed files with 2 additions and 1 deletions

View File

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

View File

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