Add(MainForm,15261923,42,-14)
{
Left=20
Top=105
Width=440
Height=421
Point(MouseX)
Point(MouseY)
Point(onResize)
Point(Handle)
link(onCreate,16299401:doEvent1,[(86,6)(86,55)])
link(onResize,16131419:doWork1,[(158,13)])
}
Add(GL_Main,12986311,182,49)
{
link(onInit,12198675:doInit,[])
link(onViewPort,3410847:doPerspective,[(237,62)(237,104)])
link(Handle,15261923:Handle,[(188,44)(62,44)])
}
Add(Timer,9506849,70,133)
{
Interval=10
Enable=1
link(onTimer,1049454:doEvent1,[])
}
Add(GL_GTools,771925,182,133)
{
Point(doClear)
Point(doPushMatrix)
Point(doPopMatrix)
}
Add(Hub,1049454,119,133)
{
OutCount=5
link(onEvent1,771925:doClear,[])
link(onEvent2,771925:doPushMatrix,[])
link(onEvent3,1301667:doDraw,[(147,153)(147,174)])
link(onEvent4,771925:doPopMatrix,[(170,160)(170,153)])
link(onEvent5,12986311:doFlip,[(166,167)(166,69)])
}
Add(Hub,16299401,98,49)
{
OutCount=3
link(onEvent1,12986311:doInit,[])
link(onEvent2,16131419:doWork2,[])
link(onEvent3,9506849:doTimer,[(140,69)(140,107)(60,107)(60,139)])
}
Add(GL_GluTools,12198675,245,49)
{
link(onInit,1101264:doEnabled,[])
}
Add(GL_Light,14989894,441,49)
{
}
Add(GL_Options,1101264,294,49)
{
link(onEvent,5851269:doEnabled,[])
}
Add(GL_Options,5851269,343,49)
{
Flag=1
link(onEvent,5809249:doEnabled,[])
}
Add(GL_Options,5809249,392,49)
{
Flag=2
link(onEvent,14989894:doEnabled,[])
}
Add(GL_Perspective,3410847,245,98)
{
Fovy=20
}
Add(HubEx,16131419,154,56)
{
link(onEvent,12986311:doViewPort,[])
}
Add(GL_Color,2427377,350,168)
{
Color=65280
link(onColor,15273974:doPushMatrix,[])
}
Add(GL_Color,1947093,350,210)
{
Color=255
link(onColor,11252965:doTranslate,[])
}
Add(Hub,12827213,301,168)
{
OutCount=4
link(onEvent1,16116103:doNext,[(327,174)(327,125)])
link(onEvent2,2427377:doColor,[(333,181)(333,174)])
link(onEvent3,1947093:doColor,[(333,188)(333,216)])
link(onEvent4,6572460:doColor,[(324,195)(324,258)])
}
Add(GL_Color,6572460,350,252)
{
Color=16711680
link(onColor,1894757:doTranslate,[])
}
Add(Gl_Axis,1301667,252,168)
{
Length=0.3
TitleScale=0.2
TitleSpace=0.1
link(onDraw,12827213:doEvent1,[])
}
Add(GL_Sphere,12099886,483,168)
{
Radius=0.1
link(onDraw,15086535:doPopMatrix,[])
}
Add(GL_Sphere,7859812,441,210)
{
Radius=0.1
}
Add(GL_Sphere,4096170,441,252)
{
Radius=0.1
}
Add(GL_GTools,15273974,399,168)
{
Point(doPushMatrix)
link(onEvent,10448704:doTranslate,[])
}
Add(GL_GTools,15086535,525,168)
{
Point(doPopMatrix)
}
Add(Gl_Translate,10448704,441,168)
{
link(onTranslate,12099886:doDraw,[])
link(Y,6398495:Result,[(454,160)(447,160)])
}
Add(Gl_Translate,11252965,399,210)
{
X=1
link(onTranslate,7859812:doDraw,[])
}
Add(Gl_Translate,1894757,399,252)
{
Y=1
link(onTranslate,4096170:doDraw,[])
}
Add(Counter,16116103,350,119)
{
Min=-100
link(onNext,14559760:doOperation,[])
}
Add(Math,6398495,441,119)
{
OpType=33
}
Add(Math,14559760,399,119)
{
OpType=3
Op2=100
link(onResult,6398495:doOperation,[])
}
Ответов: 1304
Рейтинг: 405
|
|||
recoshet, пока делал пример были произнесены все за и против, но пример думаю не помешает.
|
|||
карма: 3 |
| ||
Голосовали: | recoshet |