mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Vec3 is apprently *not* Copy, Set near plane to 0.1 to prevent tirangle flickering
This commit is contained in:
parent
b4d5663fed
commit
b4c74279b7
@ -99,7 +99,7 @@ impl<'a> System<'a> for Sys {
|
||||
.flatten()
|
||||
.flatten();
|
||||
|
||||
let old_vel = vel;
|
||||
let old_vel = vel.clone();
|
||||
// Integrate forces
|
||||
// Friction is assumed to be a constant dependent on location
|
||||
let friction = if physics_state.on_ground {
|
||||
|
@ -4,7 +4,7 @@ use frustum_query::frustum::Frustum;
|
||||
use std::f32::consts::PI;
|
||||
use vek::*;
|
||||
|
||||
const NEAR_PLANE: f32 = 0.01;
|
||||
const NEAR_PLANE: f32 = 0.1;
|
||||
const FAR_PLANE: f32 = 10000.0;
|
||||
|
||||
const INTERP_TIME: f32 = 0.1;
|
||||
|
Loading…
Reference in New Issue
Block a user