Reduces minimum speed of classic camera controller
Two blocks per second is still quite fast, so this commit reduces the minimum to a tenth of that, allowing for much finer control.
This commit is contained in:
@@ -9,7 +9,7 @@ import static net.minecraft.util.math.MathHelper.sin;
|
|||||||
|
|
||||||
// TODO: Marius is responsible for this. Please, someone clean it up.
|
// TODO: Marius is responsible for this. Please, someone clean it up.
|
||||||
public class ClassicCameraController implements CameraController {
|
public class ClassicCameraController implements CameraController {
|
||||||
private static final double LOWER_SPEED = 2;
|
private static final double LOWER_SPEED = 0.2;
|
||||||
private static final double UPPER_SPEED = 20;
|
private static final double UPPER_SPEED = 20;
|
||||||
private static final double SPEED_CHANGE = (UPPER_SPEED - LOWER_SPEED) / 2000;
|
private static final double SPEED_CHANGE = (UPPER_SPEED - LOWER_SPEED) / 2000;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user