Add(MainForm,1,441,161) { 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,623,245) { Fovy=35 zFar=100 link(Aspect,9:Var1,[(629,233)(398,233)]) } Add(GL_Main,3,574,182) { Color=15780518 link(onInit,4:doInit,[]) link(onViewPort,2:doPerspective,[(615,195)(615,251)]) link(Handle,1:Handle,[(580,167)(534,167)(534,216)(447,216)]) } Add(Timer,5,490,245) { Interval=33 Enable=1 link(onTimer,7:doEvent1,[]) } Add(GL_GTools,6,574,245) { Point(doClear) Point(doPushMatrix) Point(doPopMatrix) } Add(GL_Rotate,20,490,329) { Y=1 link(onRotate,36:doColor,[]) link(Angle,1:MouseY,[(496,320)(461,320)]) } Add(Hub,7,532,245) { OutCount=5 link(onEvent1,6:doClear,[]) link(onEvent2,6:doPushMatrix,[]) link(onEvent3,19:doRotate,[(554,265)(554,315)(443,315)(443,335)]) link(onEvent4,6:doPopMatrix,[(569,272)(569,265)]) link(onEvent5,3:doFlip,[(565,279)(565,202)]) } Add(Hub,8,539,175) { OutCount=4 link(onEvent1,9:doWork1,[(567,181)(567,147)(386,147)(386,195)]) link(onEvent2,3:doInit,[]) link(onEvent3,3:doViewPort,[]) link(onEvent4,5:doTimer,[(557,202)(557,237)(478,237)(478,251)]) } Add(MultiElement,9,392,189) { @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,483,182) { Value=Integer(27) link(onTrue,1:doClose,[(522,195)(522,156)(429,156)(429,188)]) } Add(GL_Rotate,19,448,329) { X=1 link(onRotate,20:doRotate,[]) link(Angle,1:MouseX,[]) } Add(GL_GluTools,4,623,182) { Texture=0 link(onInit,26:doEnabled,[]) } Add(GL_Point3D,27,665,140) { X=1 Y=1 } Add(GL_Light,26,665,182) { Index=1 Ambient=16777215 link(onEnabled,26:doMove,[(703,188)(703,221)(660,221)(660,195)]) link(onMove,28:doEnabled,[(702,195)(702,188)]) link(Point,27:Point3D,[]) } Add(GL_Options,28,707,182) { link(onEvent,29:doEnabled,[]) } Add(GL_Options,29,749,182) { Flag=1 link(onEvent,30:doEnabled,[]) } Add(GL_Options,30,791,182) { Flag=2 } Add(GL_Color,36,560,329) { Color=52101 link(onColor,39:doDraw,[]) } Add(GL_Cube2,39,672,329) { link(Point1,40:Point3D,[]) link(Point2,41:Point3D,[(685,320)(720,320)]) } Add(GL_Point3D,40,672,280) { X=-0.3 Y=-0.2 Z=-0.2 } Add(GL_Point3D,41,714,280) { X=0.3 Y=0.2 Z=0.2 }