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 }
|