private void btnApply_Click(object sender, EventArgs e)
        {
            {
                VIZCore3D.NET.Data.CameraData camera = vizcore3d.View.GetCameraData();

                VIZCore3D.NET.Data.Matrix3D matrix = new VIZCore3D.NET.Data.Matrix3D(camera.Matrix);
                VIZCore3D.NET.Data.Vector3D vector = matrix.GetRotation();

                tbX.Value = (360 + Convert.ToInt32(vector.X)) % 360;
                tbY.Value = (360 + Convert.ToInt32(vector.Y)) % 360;
                tbZ.Value = (360 + Convert.ToInt32(vector.Z)) % 360;
            }

            this.DialogResult = DialogResult.OK;
            this.Close();
        }
        private void View_OnViewDefaultMouseMoveEvent(object sender, MouseEventArgs e)
        {
            VIZCore3D.NET.Data.CameraData camera = vizcore3d.View.GetCameraData();

            VIZCore3D.NET.Data.Matrix3D matrix = new VIZCore3D.NET.Data.Matrix3D(camera.Matrix);
            VIZCore3D.NET.Data.Vector3D vector = matrix.GetRotation();

            int x = Convert.ToInt32(vector.X); // X축 회전 각도
            int y = Convert.ToInt32(vector.Y); // Y축 회전 각도
            int z = Convert.ToInt32(vector.Z); // Z축 회전 각도

            x = Math.Abs((360 + x)) % 360;
            y = Math.Abs((360 + y)) % 360;
            z = Math.Abs((360 + z)) % 360;

            tbX.Value = x;
            tbY.Value = y;
            tbZ.Value = z;

            XOffset = x;
            YOffset = y;
            ZOffset = z;

            txtX.Invoke(new EventHandler(delegate
            {
                txtX.Text = x.ToString();
            }));

            txtY.Invoke(new EventHandler(delegate
            {
                txtY.Text = y.ToString();
            }));

            txtZ.Invoke(new EventHandler(delegate
            {
                txtZ.Text = z.ToString();
            }));
        }