Add(MainForm,2953706,154,105) { Width=807 Height=508 Position=1 Point(Handle) Point(onResize) Point(MouseX) Point(MouseY) link(onCreate,13588785:doEvent1,[]) link(onResize,7272572:doWork3,[(197,132)(197,168)(270,168)]) } Add(GL_Main,4510843,329,119) { link(onInit,12198675:doInit,[]) link(onViewPort,3410847:doPerspective,[]) link(Handle,13175165:Var,[]) } Add(Hub,13588785,217,119) { link(onEvent1,4510843:doInit,[]) link(onEvent2,7272572:doWork2,[]) } Add(HubEx,7272572,266,119) { link(onEvent,4510843:doViewPort,[]) } Add(LineBreak,14709574,154,154) { Type=1 link(Data,2953706:Handle,[]) Primary=[13175165,175,-63] } Add(Timer,9506849,161,259) { Interval=10 link(onTimer,1049454:doEvent1,[]) } Add(GL_GTools,771925,273,259) { Point(doClear) Point(doPushMatrix) Point(doPopMatrix) } Add(Hub,1049454,210,259) { OutCount=5 link(onEvent1,771925:doClear,[]) link(onEvent2,771925:doPushMatrix,[]) link(onEvent3,4124669:In,[]) link(onEvent4,771925:doPopMatrix,[(258,286)(258,279)]) link(onEvent5,13892617:In,[(258,293)(258,300)]) } Add(LineBreak,7819002,280,133) { link(Out,4510843:doFlip,[]) Primary=[13892617,-7,161] } Add(MultiElement,10714674,161,182) { link(onEvent1,701947:doTranslate,[]) link(Data1,2953706:MouseX,[]) link(Data2,2953706:MouseY,[]) } BEGIN_SDK Add(EditMulti,4359962,10,10) { EventCount=1 WorkCount=1 DataCount=2 Width=223 Height=109 link(doWork1,3276760:doRotate,[(26,16)(26,62)]) } Add(GL_Rotate,3276760,42,56) { Y=1 link(onRotate,8079493:doRotate,[]) link(Angle,4359962:Data1,[(48,33)(16,33)]) } Add(GL_Rotate,8079493,119,56) { X=1 link(onRotate,4359962:onEvent1,[(196,62)(196,16)]) link(Angle,4359962:Data2,[(125,33)(23,33)]) } END_SDK Add(GL_CallList,10231433,280,182) { Index=1 } Add(Gl_Translate,701947,217,182) { Y=-0.8 link(onTranslate,10231433:doCallList,[]) } Add(LineBreak,9610636,112,182) { link(Out,10714674:doWork1,[]) Primary=[4124669,203,91] } Add(GL_Perspective,3410847,385,126) { Fovy=25 } Add(GL_GluTools,12198675,441,119) { DrawStyle=0 Orientation=0 link(onInit,9494542:doDraw,[]) } Add(GL_Cube,9494542,616,119) { Size=50 }