Add(MainForm,1,301,133) { 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,483,217) { Fovy=35 zFar=100 link(Aspect,9:Var1,[(489,205)(258,205)]) } Add(GL_Main,3,434,154) { Color=15780518 link(onInit,4:doInit,[]) link(onViewPort,2:doPerspective,[(475,167)(475,223)]) link(Handle,1:Handle,[(440,139)(394,139)(394,188)(307,188)]) } Add(Timer,5,350,217) { Interval=33 Enable=1 link(onTimer,7:doEvent1,[]) } Add(GL_GTools,6,434,217) { Point(doClear) Point(doPushMatrix) Point(doPopMatrix) } Add(GL_Rotate,20,350,301) { X=1 link(onRotate,4001697:doBegin,[]) link(Angle,1:MouseY,[(356,292)(321,292)]) } Add(Hub,7,392,217) { OutCount=5 link(onEvent1,6:doClear,[]) link(onEvent2,6:doPushMatrix,[]) link(onEvent3,19:doRotate,[(418,237)(418,272)(296,272)(296,307)]) link(onEvent4,6:doPopMatrix,[(429,244)(429,237)]) link(onEvent5,3:doFlip,[(425,251)(425,174)]) } Add(Hub,8,399,147) { OutCount=4 link(onEvent1,9:doWork1,[(427,153)(427,119)(246,119)(246,167)]) link(onEvent2,3:doInit,[]) link(onEvent3,3:doViewPort,[]) link(onEvent4,5:doTimer,[(417,174)(417,209)(338,209)(338,223)]) } Add(MultiElement,9,252,161) { @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,343,154) { Value=Integer(27) link(onTrue,1:doClose,[(382,167)(382,128)(289,128)(289,160)]) } Add(GL_Rotate,19,308,301) { Y=1 link(onRotate,20:doRotate,[]) link(Angle,1:MouseX,[]) } Add(GL_GluTools,4,483,154) { Texture=0 link(onInit,26:doEnabled,[]) } Add(FTCG_Tools,4001697,392,301) { } BEGIN_SDK Add(EditMultiEx,14565349,21,21) { WorkCount=#7:doBegin| Width=433 Height=165 link(doBegin,3503108:doFor,[(42,27)(42,104)]) } Add(Gl_Begin,11760931,147,98) { BlockType=9 link(onBegin,6464291:doVertex,[]) } Add(GL_Vertex3D,6464291,189,98) { link(onVertex,640868:doVertex,[]) } Add(GL_Vertex3D,640868,231,98) { X=0.2 link(onVertex,11584510:doVertex,[]) } Add(GL_Vertex3D,11584510,273,98) { X=0.2 Y=0.2 link(onVertex,13329497:doVertex,[]) } Add(GL_Vertex3D,13329497,315,98) { Y=0.2 link(onVertex,14767556:doEnd,[]) } Add(Gl_End,14767556,357,98) { } Add(GL_Rotate,5785904,105,98) { Angle=35 X=1 link(onRotate,11760931:doBegin,[]) } Add(FT_For,3503108,63,98) { Start=5 link(onEvent,5785904:doRotate,[]) } END_SDK Add(GL_Point3D,27,525,112) { X=1 Y=1 } Add(GL_Light,26,525,154) { Index=1 Ambient=16777215 link(onEnabled,26:doMove,[(563,160)(563,193)(520,193)(520,167)]) link(onMove,28:doEnabled,[]) link(Point,27:Point3D,[]) } Add(GL_Options,28,574,161) { link(onEvent,29:doEnabled,[]) } Add(GL_Options,29,616,161) { Flag=2 }