Add(MainForm,1,168,98) { BorderStyle=0 WindowsState=2 Point(Handle) Point(doWidth) Point(doHeight) Point(onKeyDown) Point(MouseX) Point(MouseY) link(onCreate,8:doEvent1,[]) link(onKeyDown,18:doCase,[]) } Add(GL_Perspective,2,350,182) { Fovy=35 zFar=100 link(Aspect,9:Var1,[(356,170)(125,170)]) } Add(GL_Main,3,301,119) { Color=15780518 link(onInit,4:doInit,[]) link(onViewPort,2:doPerspective,[(342,132)(342,188)]) link(Handle,1:Handle,[(307,104)(261,104)(261,153)(174,153)]) } Add(Timer,5,217,182) { Interval=33 Enable=1 link(onTimer,7:doEvent1,[]) } Add(GL_GTools,6,301,182) { Point(doClear) Point(doPushMatrix) Point(doPopMatrix) } Add(GL_Rotate,20,217,266) { X=1 link(onRotate,4001697:doBegin,[]) link(Angle,1:MouseY,[(223,257)(188,257)]) } Add(Hub,7,259,182) { OutCount=5 link(onEvent1,6:doClear,[]) link(onEvent2,6:doPushMatrix,[]) link(onEvent3,19:doRotate,[(281,202)(281,252)(170,252)(170,272)]) link(onEvent4,6:doPopMatrix,[(296,209)(296,202)]) link(onEvent5,3:doFlip,[(292,216)(292,139)]) } Add(Hub,8,266,112) { OutCount=4 link(onEvent1,9:doWork1,[(294,118)(294,84)(113,84)(113,132)]) link(onEvent2,3:doInit,[]) link(onEvent3,3:doViewPort,[]) link(onEvent4,5:doTimer,[(284,139)(284,174)(205,174)(205,188)]) } Add(MultiElement,9,119,126) { @Hint=#21:?acia? oi?iu e aniaeo| link(onEvent1,1:doWidth,[]) link(onEvent2,1:doHeight,[]) } BEGIN_SDK Add(EditMulti,10,10,10) { EventCount=2 WorkCount=1 VarCount=1 Width=230 Height=179 link(doWork1,11:doEvent1,[(30,16)(30,90)]) link(Var1,12:Result,[(16,156)(125,156)]) } Add(Hub,11,42,84) { link(onEvent1,13:doData,[]) link(onEvent2,12:doOperation,[]) } Add(Math,12,119,91) { OpType=3 link(onResult,14:doData,[]) link(Op1,16:Var2,[]) link(Op2,15:Var2,[]) } Add(DoData,13,77,84) { link(onEventData,10:onEvent1,[(162,90)(162,16)]) link(Data,16:Var1,[(83,68)]) } Add(DoData,14,168,91) { link(onEventData,10:onEvent2,[(220,97)(220,23)]) link(Data,15:Var3,[(174,75)]) } Add(GetDataEx,15,126,70) { link(Data,17:Height,[]) } Add(GetDataEx,16,119,63) { link(Data,17:Width,[]) } Add(Screen,17,119,21) { } END_SDK Add(Case,18,210,119) { Value=Integer(27) link(onTrue,1:doClose,[(249,132)(249,93)(156,93)(156,125)]) } Add(GL_Rotate,19,175,266) { Y=1 link(onRotate,20:doRotate,[]) link(Angle,1:MouseX,[]) } Add(GL_GluTools,4,350,119) { Texture=0 link(onInit,26:doEnabled,[]) } Add(FTCG_Tools,4001697,266,266) { } BEGIN_SDK Add(EditMultiEx,14565349,21,21) { WorkCount=#7:doBegin| Height=172 link(doBegin,11760931:doBegin,[(35,27)(35,76)]) } Add(Gl_Begin,11760931,42,70) { BlockType=9 link(onBegin,6464291:doVertex,[]) } Add(GL_Vertex3D,6464291,84,70) { link(onVertex,640868:doVertex,[]) } Add(GL_Vertex3D,640868,126,70) { X=2 link(onVertex,11584510:doVertex,[]) } Add(GL_Vertex3D,11584510,168,70) { X=2 Y=2 link(onVertex,13329497:doVertex,[]) } Add(GL_Cube,4941732,252,70) { Size=0.1 } Add(GL_Vertex3D,13329497,210,70) { Y=2 link(onVertex,4941732:doDraw,[]) } END_SDK Add(GL_Point3D,27,392,77) { X=1 Y=1 } Add(GL_Light,26,392,119) { Index=1 Ambient=16777215 link(onEnabled,26:doMove,[(430,125)(430,158)(387,158)(387,132)]) link(onMove,28:doEnabled,[(429,132)(429,125)]) link(Point,27:Point3D,[]) } Add(GL_Options,28,434,119) { link(onEvent,29:doEnabled,[]) } Add(GL_Options,29,476,119) { Flag=2 }