Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void OglGui::ViewerPoint::Init ( float  x,
float  y,
long long  id 
) [inline, private]

Definition at line 75 of file ViewerPoint.h.

References cMagicNr, mDeltaX, mDeltaY, mId, OglGui::View::mView2D, mX, and mY.

Referenced by ViewerPoint().

00076     {
00077         mX = x;
00078         mY = y;
00079         mId = id;
00080         viewSys.SetSysData(mView2D, 2, (void*) cMagicNr);
00081         mDeltaX = (1.f / (3+(rand()%50))) * (rand()%2?-1:1);
00082         mDeltaY = (1.f / (3+(rand()%50))) * (rand()%2?-1:1);;
00083         if (mDeltaX > mDeltaY-0.001 && mDeltaX < mDeltaY+0.001)
00084             mDeltaX += 0.002;
00085     }


Generated on Fri Mar 19 12:09:51 2010 for ImpalaSrc by  doxygen 1.5.1