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(); }
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); }
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(); }
public MacroInput(Point p) { this.point = p; this.mit = MIT.Click; }
public MacroInput(int delay) { this.mit = MIT.Delay; this.delay = delay; }