Adjust wall distance buffer

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2026-09-14 11:14:22 +02:00
parent 9ace1c97a1
commit 7d99526d33
+1 -1
View File
@@ -239,7 +239,7 @@ class _PlayerState extends State<Player> {
double playerAngle = widget.rayData.playerAngle;
// How many pixels away from a wall to stay
const double buffer = 8;
const double buffer = 2;
if (keys.contains(LogicalKeyboardKey.keyA)) {
// Turn left