diff --git a/src/Mono.cs b/src/Mono.cs index 6afa12c..b9796ea 100644 --- a/src/Mono.cs +++ b/src/Mono.cs @@ -64,8 +64,11 @@ static class Mono if (Input.Key(Key.MouseCenter).IsActive()) { float sx = Input.Mouse.posChange.x; - float ssx = Maths.smooth_start(sx); - box_pose.orientation *= Quat.FromAngles(0, sx * 180.0f * Time.Stepf, 0); + Renderer.CameraRoot *= Matrix.R( + Quat.FromAngles(0, -sx * 180.0f * Time.Stepf, 0) + ); + // orbital_view + box_pose.position = Input.Head.position + Input.Head.orientation * V.XYZ(0, -0 * U.cm, -10 * U.cm); } } else