Add(MainForm,1,252,126) { 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,434,210) { Fovy=35 zFar=100 link(Aspect,9:Var1,[(440,198)(209,198)]) } Add(GL_Main,3,385,147) { Color=15780518 link(onInit,4:doInit,[]) link(onViewPort,2:doPerspective,[(426,160)(426,216)]) link(Handle,1:Handle,[(391,132)(345,132)(345,181)(258,181)]) } Add(Timer,5,301,210) { Interval=33 Enable=1 link(onTimer,7:doEvent1,[]) } Add(GL_GTools,6,385,210) { Point(doClear) Point(doPushMatrix) Point(doPopMatrix) } Add(GL_Rotate,20,301,294) { X=1 link(onRotate,5111502:doFor,[]) link(Angle,1:MouseY,[(307,285)(272,285)]) } Add(Hub,7,343,210) { OutCount=5 link(onEvent1,6:doClear,[]) link(onEvent2,6:doPushMatrix,[]) link(onEvent3,19:doRotate,[(369,230)(369,265)(247,265)(247,300)]) link(onEvent4,6:doPopMatrix,[(380,237)(380,230)]) link(onEvent5,3:doFlip,[(376,244)(376,167)]) } Add(Hub,8,350,140) { OutCount=4 link(onEvent1,9:doWork1,[(378,146)(378,112)(197,112)(197,160)]) link(onEvent2,3:doInit,[]) link(onEvent3,3:doViewPort,[]) link(onEvent4,5:doTimer,[(368,167)(368,202)(289,202)(289,216)]) } Add(MultiElement,9,203,154) { @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,294,147) { Value=Integer(27) link(onTrue,1:doClose,[(333,160)(333,121)(240,121)(240,153)]) } Add(GL_Rotate,19,259,294) { Y=1 link(onRotate,20:doRotate,[]) link(Angle,1:MouseX,[]) } Add(GL_GluTools,4,434,147) { Texture=0 link(onInit,26:doEnabled,[]) } Add(GL_Point3D,27,476,105) { X=1 Y=1 } Add(GL_Light,26,476,147) { Index=1 Ambient=16777215 link(onEnabled,26:doMove,[(514,153)(514,186)(471,186)(471,160)]) link(onMove,28:doEnabled,[]) link(Point,27:Point3D,[]) } Add(GL_Options,28,525,154) { link(onEvent,29:doEnabled,[]) } Add(GL_Options,29,567,154) { Flag=2 } Add(Gl_Begin,11760931,427,294) { BlockType=9 link(onBegin,6464291:doVertex,[]) } Add(GL_Vertex3D,6464291,469,294) { link(onVertex,640868:doVertex,[]) } Add(GL_Vertex3D,640868,511,294) { X=0.2 link(onVertex,11584510:doVertex,[]) } Add(GL_Vertex3D,11584510,553,294) { X=0.2 Y=0.2 link(onVertex,13329497:doVertex,[]) } Add(GL_Vertex3D,13329497,595,294) { Y=0.2 link(onVertex,14767556:doEnd,[]) } Add(Gl_End,14767556,637,294) { } Add(GL_Rotate,5785904,385,294) { Angle=35 X=1 link(onRotate,11760931:doBegin,[]) } Add(For,5111502,343,294) { End=5 link(onEvent,5785904:doRotate,[]) }