mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Updated changelog and fmt
This commit is contained in:
parent
05e6df1b65
commit
5c3a08e450
@ -9,8 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Added
|
||||
|
||||
- Added context-sensitive crosshair
|
||||
|
||||
### Changed
|
||||
|
||||
- Improved camera aiming
|
||||
|
||||
### Removed
|
||||
|
||||
## [0.6.0] - 2020-05-16
|
||||
|
@ -175,7 +175,14 @@ impl PlayState for SessionState {
|
||||
.map(|cs| cs.is_aimed())
|
||||
.unwrap_or(false);
|
||||
|
||||
(is_aiming, if is_aiming { Vec3::unit_z() * 0.025 } else { Vec3::zero() })
|
||||
(
|
||||
is_aiming,
|
||||
if is_aiming {
|
||||
Vec3::unit_z() * 0.025
|
||||
} else {
|
||||
Vec3::zero()
|
||||
},
|
||||
)
|
||||
};
|
||||
|
||||
let cam_dir: Vec3<f32> = Vec3::from(view_mat.inverted() * -Vec4::unit_z());
|
||||
|
Loading…
Reference in New Issue
Block a user