box scale in to be refactored later
This commit is contained in:
parent
b6794508f6
commit
5b69e88859
2 changed files with 3 additions and 2 deletions
|
@ -68,7 +68,7 @@ static class Arts
|
||||||
|
|
||||||
// box
|
// box
|
||||||
// scale in
|
// 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));
|
Hierarchy.Push(Mono.box_pose.ToMatrix(box_scale));
|
||||||
// meshes["InsideOut"].Draw(mat_unlit, Matrix.Identity);
|
// meshes["InsideOut"].Draw(mat_unlit, Matrix.Identity);
|
||||||
meshes["InsideOut"].Draw(
|
meshes["InsideOut"].Draw(
|
||||||
|
|
|
@ -46,7 +46,8 @@ class Program
|
||||||
Mono.Frame();
|
Mono.Frame();
|
||||||
|
|
||||||
// stepper
|
// 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.game_time += Time.Step;
|
||||||
Mono.step_time = Maths.min(Mono.step_time + Time.Step, Mono.step_step);
|
Mono.step_time = Maths.min(Mono.step_time + Time.Step, Mono.step_step);
|
||||||
|
|
Loading…
Add table
Reference in a new issue