Add(MainForm,15261923,-96,-49) { Left=20 Top=105 Width=440 Height=421 Point(MouseX) Point(MouseY) Point(onResize) Point(Handle) link(onCreate,9833828:doTimer,[(-52,-29)(-52,6)(-101,6)(-101,41)]) link(onResize,16131419:doWork1,[(20,-22)]) } Add(GL_Main,12986311,44,91) { Color=32896 link(onInit,12198675:doInit,[]) link(onViewPort,3410847:doPerspective,[(99,104)(99,146)]) link(Handle,4073238:Var,[]) } Add(Timer,9506849,-68,175) { Interval=10 Enable=1 link(onTimer,1049454:doEvent1,[]) } Add(GL_GTools,771925,44,175) { Point(doClear) Point(doPushMatrix) Point(doPopMatrix) } Add(Hub,1049454,-19,175) { OutCount=5 link(onEvent1,771925:doClear,[]) link(onEvent2,771925:doPushMatrix,[]) link(onEvent3,15762577:doNext,[(7,195)(7,223)(-31,223)(-31,251)]) link(onEvent4,771925:doPopMatrix,[(32,202)(32,195)]) link(onEvent5,12986311:doFlip,[(28,209)(28,111)]) } Add(Hub,16299401,-40,91) { OutCount=3 link(onEvent1,12986311:doInit,[]) link(onEvent2,16131419:doWork2,[]) link(onEvent3,9506849:doTimer,[(2,111)(2,149)(-78,149)(-78,181)]) } Add(GL_GluTools,12198675,107,91) { link(onInit,1101264:doEnabled,[]) } Add(GL_Light,14989894,303,91) { } Add(GL_Options,1101264,156,91) { link(onEvent,5851269:doEnabled,[]) } Add(GL_Options,5851269,205,91) { Flag=1 link(onEvent,5809249:doEnabled,[]) } Add(GL_Options,5809249,254,91) { Flag=2 link(onEvent,14989894:doEnabled,[]) } Add(GL_Perspective,3410847,107,140) { Fovy=20 } Add(HubEx,16131419,16,98) { link(onEvent,12986311:doViewPort,[]) } Add(ChildForm,9728350,44,-56) { } BEGIN_SDK Add(EditMulti,6895035,21,21) { VarCount=3 link(Var1,241054:Handle,[(27,179)(41,179)]) link(Var2,241054:MouseX,[(34,179)(48,179)]) link(Var3,241054:MouseY,[(41,179)(55,179)]) } Add(MainForm,241054,35,105) { Left=35 Top=105 Width=300 Point(Handle) Point(MouseX) Point(MouseY) } END_SDK Add(GL_Cube,10596803,142,245) { } Add(ChildForm,13227981,86,-56) { } BEGIN_SDK Add(EditMulti,6895035,21,21) { VarCount=3 link(Var1,241054:Handle,[(27,179)(41,179)]) link(Var2,241054:MouseX,[(34,179)(48,179)]) link(Var3,241054:MouseY,[(41,179)(55,179)]) } Add(MainForm,241054,35,105) { Left=200 Top=105 Width=300 Point(Handle) Point(MouseX) Point(MouseY) } END_SDK Add(GL_Torus,11114686,142,287) { inRadius=0.25 outRadius=0.5 Sides=20 Rings=20 } Add(GetIndexData,4073238,44,0) { Count=3 link(Data1,9728350:Var1,[]) link(Data2,13227981:Var1,[(57,-12)(92,-12)]) link(Data3,12245985:Var1,[(64,-6)(134,-6)]) } Add(Counter,10417886,-40,35) { Max=2 Default=-1 link(onNext,399879:doEvent1,[]) } Add(IndexToChanel,10974785,86,245) { Count=3 Point(Index) link(onEvent1,10596803:doDraw,[]) link(onEvent2,11114686:doDraw,[(130,258)(130,293)]) link(onEvent3,8563708:doDraw,[(125,265)(125,335)]) link(Index,10417886:Count,[(92,156)(-34,156)]) } Add(Timer,9833828,-89,35) { Interval=500 Enable=1 link(onTimer,10417886:doNext,[]) } Add(Hub,399879,2,35) { link(onEvent1,4073238:doIndex,[(30,41)(30,6)]) link(onEvent2,16299401:doEvent1,[(28,48)(28,72)(-52,72)(-52,97)]) } Add(ChildForm,12245985,128,-56) { } BEGIN_SDK Add(EditMulti,6895035,21,21) { VarCount=3 link(Var1,241054:Handle,[(27,179)(41,179)]) link(Var2,241054:MouseX,[(34,179)(48,179)]) link(Var3,241054:MouseY,[(41,179)(55,179)]) } Add(MainForm,241054,35,105) { Left=400 Top=105 Width=300 Point(Handle) Point(MouseX) Point(MouseY) } END_SDK Add(GL_Cylinder,8563708,142,329) { BaseRadius=0.5 TopRadius=0.5 Height=0.5 Slices=20 Stacks=20 } Add(GL_Rotate,7716861,30,245) { Y=1 link(onRotate,10974785:doEvent,[]) } Add(Counter,15762577,-19,245) { Max=360 Step=3 link(onNext,7716861:doRotate,[]) }