------------ Дoбавленo:
вот такаю штука
Add(MainForm,15261923,126,217)
{
Left=20
Top=105
Width=440
Height=421
Point(MouseX)
Point(MouseY)
Point(onResize)
Point(Handle)
link(onCreate,16299401:doEvent1,[(170,237)(170,293)])
link(onResize,16131419:doWork1,[(242,244)])
}
Add(GL_Main,12986311,266,287)
{
link(onInit,12198675:doInit,[])
link(onViewPort,3410847:doPerspective,[(306,300)(306,335)])
link(Handle,15261923:Handle,[(272,268)(146,268)])
}
Add(Timer,9506849,147,364)
{
Interval=33
Enable=1
link(onTimer,1049454:doEvent1,[])
}
Add(GL_GTools,771925,266,350)
{
Point(doClear)
Point(doPushMatrix)
Point(doPopMatrix)
}
Add(Hub,1049454,196,364)
{
OutCount=7
link(onEvent1,771925:doClear,[(233,370)(233,356)])
link(onEvent2,771925:doPushMatrix,[(239,377)(239,363)])
link(onEvent3,13925991:doRotate,[(272,384)(272,412)])
link(onEvent4,771925:doPopMatrix,[(250,391)(250,370)])
link(onEvent5,16597153:doWork,[(247,398)(247,468)])
link(onEvent6,12986311:doFlip,[(243,405)(243,307)])
}
Add(Hub,16299401,182,287)
{
OutCount=3
link(onEvent1,12986311:doInit,[])
link(onEvent2,16131419:doWork2,[])
link(onEvent3,9506849:doTimer,[(224,307)(224,345)(133,345)(133,370)])
}
Add(GL_GluTools,12198675,329,287)
{
link(onInit,1101264:doEnabled,[])
}
Add(GL_Options,1101264,371,287)
{
link(onEvent,5851269:doEnabled,[])
}
Add(GL_Options,5851269,420,287)
{
Flag=1
link(onEvent,5809249:doEnabled,[])
}
Add(GL_Options,5809249,462,287)
{
Flag=2
link(onEvent,15567448:doEnabled,[])
}
Add(GL_Perspective,3410847,329,329)
{
Fovy=20
}
Add(HubEx,16131419,238,287)
{
link(onEvent,12986311:doViewPort,[])
}
Add(GL_Options,15567448,504,287)
{
Flag=8
link(onEvent,15390040:doEvent1,[])
}
Add(GL_Sphere,14716319,448,406)
{
Radius=1.4
Slices=7
Stacks=2
}
Add(GL_Rotate,13925991,315,406)
{
Angle=90
Y=1
link(onRotate,4670547:doSet,[])
}
Add(GL_Rotate,10687484,315,462)
{
Angle=5
X=1
Y=1
Z=1
}
Add(GL_Color,13761942,406,406)
{
Color=16777215
Alpha=0.5
link(onColor,14716319:doDraw,[])
}
Add(GL_Color,12276510,343,602)
{
Color=12632256
}
Add(GL_Light,16410882,770,287)
{
Ambient=16711680
Diffuse=16711680
link(onEnabled,16410882:doMove,[(814,293)(814,330)(758,330)(758,300)])
link(Point,15813314:Point3D,[])
}
Add(GL_Point3D,15813314,770,240)
{
X=-2
Y=2
Z=2
}
Add(Hub,15390040,609,287)
{
OutCount=4
link(onEvent1,5787898:doWork,[])
}
Add(Check,5787898,714,287)
{
Caption="1"
link(onEvent,16410882:doEnabled,[])
}
Add(GL_Material,4670547,364,406)
{
Side=2
Diffuse=0
Specular=16777215
Shininess=1
link(onSet,13761942:doColor,[])
}
Add(Check,16597153,266,462)
{
Caption="R"
link(onEvent,10687484:doRotate,[])
}