From 5b69e88859ddb1a4520d2bf2adddb14af9ebe936 Mon Sep 17 00:00:00 2001 From: spatialfree Date: Sat, 23 Nov 2024 16:22:49 -0500 Subject: [PATCH] box scale in to be refactored later --- src/Arts.cs | 2 +- src/Program.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Arts.cs b/src/Arts.cs index 8205ddd..d6e781b 100644 --- a/src/Arts.cs +++ b/src/Arts.cs @@ -68,7 +68,7 @@ static class Arts // box // scale in - float box_scale = Maths.min(Maths.smooth_stop((float)Mono.game_time) * Mono.box_scale, Mono.box_scale); + float box_scale = Mono.box_scale; // Maths.min(Maths.smooth_stop(Maths.u_scalar(Time.Totalf - 3)) * Mono.box_scale, Mono.box_scale); Hierarchy.Push(Mono.box_pose.ToMatrix(box_scale)); // meshes["InsideOut"].Draw(mat_unlit, Matrix.Identity); meshes["InsideOut"].Draw( diff --git a/src/Program.cs b/src/Program.cs index 95269b4..9800fce 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -46,7 +46,8 @@ class Program Mono.Frame(); // stepper - if (Time.Total > 3.0) + // if (Time.Total > 3.0) return; // buffer app loading [!] relace with user prompt to start (spawn box in hand or something) + { Mono.game_time += Time.Step; Mono.step_time = Maths.min(Mono.step_time + Time.Step, Mono.step_step);