private void Reset_Click(object sender, RoutedEventArgs e)
 {
     NTBox.Clear();
     NUP.Clear();
     NMP.Clear();
     CIU.Clear();
     CIM.Clear();
     DF.Clear();
     MIT.Clear();
     PIM.Clear();
     isMasked.IsChecked = false;
     Result.Items.Clear();
 }
예제 #2
0
        public Vector4 Vertex(TriangleInfo triangle, int vertexIndex)
        {
            var vertexInfo = triangle[vertexIndex];

            var uv = vertexInfo.UV;

            _varyingUV[vertexIndex] = uv;

            var normal = vertexInfo.Normal;

            normal = MIT.Multiply(normal);
            _varyingNormal[vertexIndex] = normal;

            var vertex = vertexInfo.Vertex.ToVector4();

            vertex = Transform.Multiply(vertex);

            _varyingTrinagle[vertexIndex] = vertex.ToVector3();

            return(vertex);
        }
예제 #3
0
        static void Main(string[] args)
        {
            Console.WriteLine("Workflow example for Departments and Groups.\n");

            SoftwareSystems softwareSys = new SoftwareSystems();
            MIT             mit         = new MIT();

            IPZ_33 group33 = new IPZ_33();
            IPZ_32 group32 = new IPZ_32();

            softwareSys.Subscribe(group33);
            softwareSys.Subscribe(group32);

            softwareSys.Notify();

            softwareSys.Unsubscribe(group32);

            mit.Subscribe(group33);

            mit.Notify();

            mit.Unsubscribe(group33);
            Console.ReadLine();
        }
예제 #4
0
 public MacroInput(Point p)
 {
     this.point = p;
     this.mit   = MIT.Click;
 }
예제 #5
0
 public MacroInput(int delay)
 {
     this.mit   = MIT.Delay;
     this.delay = delay;
 }