Exemple #1
0
        private void Initialize()
        {
            ptInput = connectedMenus.ptInput;
            connectedMenus.ptInput.Initialize(this);
            connectedMenus.ptOutputMenu.Initialize(this);
            List <string> neg1 = new List <string>()
            {
                "-", "1"
            };
            List <string> pos1 = new List <string>()
            {
                "1"
            };

            ptSet = new PtSet();

            eqnSet = new EqnSet();

            ptInput.ChangeOutput(ptSet.ptCoords["pt1"].X);
            //in unity z is the right 3rd axis
            updatePoint("pt1", new Vector3(1, 2, 3), false); // vector
            updatePoint("pt2", new Vector3(0, 1, 0), false); // first axis
            updatePoint("pt3", new Vector3(1, 0, 0), false); // origin
            ptInput.setPlane();
        }
Exemple #2
0
 internal KeyboardInputResponder(PtInput ptInput)
 {
     this.ptInput = ptInput;
 }