Fixed the camera movement so it now take into account sub-voxel movement

Also fixed the distortion around the XY axes
This commit is contained in:
MitchellHansen
2016-09-23 14:08:01 -07:00
parent fe0fbc04e1
commit 1620f40d02
5 changed files with 29 additions and 22 deletions

View File

@@ -68,7 +68,7 @@ int Camera::update(double delta_time) {
// so vector multiplication broke?
// have to do it component wise
double multiplier = 50;
double multiplier = 10;
position.x += movement.x * delta_time * multiplier;
position.y += movement.y * delta_time * multiplier;