(#48) Increase the drag friction

This commit is contained in:
rexim 2019-11-13 23:34:55 +07:00
parent decd54cdbf
commit b31121d073

View File

@ -10,7 +10,8 @@ type Config* = object
const defaultConfig* = Config( const defaultConfig* = Config(
scrollSpeed: 1.0, scrollSpeed: 1.0,
dragVelocityFactor: 10.0, dragVelocityFactor: 10.0,
dragFriction: 1.0, # TODO: For a natual feel dragFriction probably should depend on velocity
dragFriction: 600.0,
scaleFriction: 10.0, scaleFriction: 10.0,
fps: 60 fps: 60
) )