Definition at line 186 of file Carousel3D.h. References Clamp360(), mCenterRotY, mOglViews, and RotateToSpike(). Referenced by DisplayFunc(). 00187 { 00188 Clamp360(mCenterRotY); 00189 int nrOfViews = mOglViews.size(); 00190 float spikes = 360.f / nrOfViews; 00191 float n = floor(0.5f + mCenterRotY / spikes); 00192 int s = abs(n-nrOfViews); 00193 RotateToSpike(s); 00194 }
Here is the call graph for this function:
|