Reimplemented from OglGui::Window. Definition at line 449 of file ViewerPointCloud.h. References mOldH, mOldW, mPtDocX, and mPtDocY. 00450 { 00451 float diffX = mPtDocX - (mOldW/2.f); 00452 float diffY = mPtDocY - (mOldH/2.f); 00453 00454 mPtDocX = diffX + w/2.f; 00455 mPtDocY = diffY + h/2.f; 00456 mOldW = w; 00457 mOldH = h; 00458 }
|