From 0f990eb95a9ef3a1be8847a863f7216a8625692a Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Thu, 18 Dec 2025 20:28:53 -0500 Subject: add bouncing when hitting arena edge --- src/forth/vm.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/forth') diff --git a/src/forth/vm.rs b/src/forth/vm.rs index 564a647..25ed516 100644 --- a/src/forth/vm.rs +++ b/src/forth/vm.rs @@ -4,9 +4,9 @@ use std::ops::Index; pub type DataStackType = isize; -const MIN_SPEED: DataStackType = 0; -const MAX_SPEED: DataStackType = 10; -const UNITS_PER_ROTATION: DataStackType = 360; +pub const MIN_SPEED: DataStackType = 0; +pub const MAX_SPEED: DataStackType = 10; +pub const UNITS_PER_ROTATION: DataStackType = 360; #[derive(Clone, Debug, Eq, PartialEq)] pub enum OpCode { -- cgit v1.3