Esempio n. 1
0
        void _3Dshow_MouseDown(object sender, MouseEventArgs e)
        {
            MessageBox.Show("here");
            Point   tempAux = new Point(e.X, e.Y);
            arcball arcBall = new arcball(640.0f, 480.0f);

            arcBall.mapToSphere(tempAux, p_tag);
        }
Esempio n. 2
0
        void Form1_MouseDown(object sender, MouseEventArgs e)
        {
            MessageBox.Show("here");
            Point   tempAux = new Point(e.X, e.Y);
            arcball arcBall = new arcball(640.0f, 480.0f);

            arcBall.mapToSphere(tempAux, p_tag);
            textBox5.Text = p_tag.x.ToString();
            textBox1.Text = p_tag.y.ToString();
            textBox7.Text = p_tag.z.ToString();
        }