colour and camera corrections

This commit is contained in:
Pfauenauge90 2019-07-06 19:29:44 +02:00
parent d4a6f0c202
commit de1cf1371c
2 changed files with 2 additions and 2 deletions

View File

@ -373,7 +373,7 @@ impl Hud {
); );
Text::new(&name) Text::new(&name)
.font_size(20) .font_size(20)
.color(Color::Rgba(0.33, 0.69, 0.65, 1.0)) .color(Color::Rgba(0.61, 0.61, 0.89, 1.0))
.x_y(0.0, 0.0) .x_y(0.0, 0.0)
.position_ingame(pos + Vec3::new(0.0, 0.0, 3.0)) .position_ingame(pos + Vec3::new(0.0, 0.0, 3.0))
.resolution(100.0) .resolution(100.0)

View File

@ -118,7 +118,7 @@ impl Scene {
let tilt = self.camera.get_orientation().y; let tilt = self.camera.get_orientation().y;
let dist = self.camera.get_distance(); let dist = self.camera.get_distance();
self.camera self.camera
.set_focus_pos(player_pos + Vec3::unit_z() * (2.3 - tilt.min(0.0) * dist * 0.75)); .set_focus_pos(player_pos + Vec3::unit_z() * (3.0 - tilt.min(0.0) * dist * 0.75));
// Tick camera for interpolation. // Tick camera for interpolation.
self.camera.update(client.state().get_time()); self.camera.update(client.state().get_time());