~mc-return/compiz/compiz.merge-expo-code-cleanup

Viewing all changes in revision 3716.

  • Committer: MC Return
  • Date: 2013-06-16 11:19:25 UTC
  • Revision ID: mc.return@gmx.net-20130616111925-tw1exdpdbmgkvzu1
Removed additional alignment whitespaces between if and bracket
Used static_cast <> (type) instead of (type) cast
Added whitespace between CompPoint and bracket
Removed alignment in void ExpoScreen::updateWraps (bool enable)
Try harder not to break the 80 characters limit
No need to check if (oldFilter != GL_LINEAR_MIPMAP_LINEAR) as the 
setTextureFilter function is smart enough
Use w->geometry ().widthIncBorders () and w->geometry ().heightIncBorders ()
to determine winRealWidth and winRealHeight
More verbose variable names:
mpi->degToRad
scw, sw ->screenWidth
sws->screenWidthSquared
rs->curveDistSquaredPlusQuarter
pcd->pOne2MinusCurveDist
vzs->v0Squared
vts->v2Squared

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: