Updated changelog

This commit is contained in:
Joshua Barretto 2020-08-18 18:06:28 +01:00
parent d1bbfc9960
commit 237d33e9aa
2 changed files with 3 additions and 2 deletions

View File

@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- New level of detail feature, letting you see all the world's terrain at any view distance.
- Point and directional lights now cast realistic shadows, using shadow mapping.
- Added leaf and chimney particles
### Changed
- Fixed a bug where leaving the Settings menu by pressing "N" in single player kept the game paused

View File

@ -273,7 +273,7 @@ impl ParticleMgr {
type BoiFn<'a> = fn(&'a BlocksOfInterest) -> &'a [Vec3<i32>];
let particles: &[(BoiFn, _, _, _)] = &[
(|boi| &boi.leaves, 0.005, 30.0, ParticleMode::Leaf),
(|boi| &boi.leaves, 0.002, 30.0, ParticleMode::Leaf),
(|boi| &boi.embers, 20.0, 0.25, ParticleMode::CampfireFire),
(|boi| &boi.embers, 6.0, 30.0, ParticleMode::CampfireSmoke),
];
@ -299,7 +299,7 @@ impl ParticleMgr {
Duration::from_secs_f32(*dur),
time,
*mode,
block_pos.map(|e: i32| e as f32 + 0.5),
block_pos.map(|e: i32| e as f32 + thread_rng().gen::<f32>()),
));
}
}