                        const float3 sphereCenter, const float sphereRadius,
                        const float3 planeNormal, const float planeDist,
                        void* d_depth, vvIbrImage::DepthPrecision dp,
-                       const float2 ibrPlanes, const bool gatherPass,
-                       const bool alphaPassIbr, float* d_gatheredAlpha)
+                       const float2 ibrPlanes, const bool alphaPassIbr,
+                       const bool gatherPass, float* d_gatheredAlpha)
 {
   const float opacityThreshold = 0.95f;
 

  _illumination = false;
  _interpolation = true;
  _opacityCorrection = true;
  _gatherAlphaForIbr = false;

  _ibrPlanes[0] = 0.0f;
  _ibrPlanes[1] = 0.0f;

  bool justClippedPlane = false;
  bool justClippedSphere = false;

  float3 ibrDepth    = make_float3(0.0f, 0.0f, 0.0f);
  bool ibrDepthFound = false;
  float ibrOpacityWeight = 0.8f;
  float maxDiff      = 0.0f;
  float lastAlpha    = 0.0f;

  // Ensure that dist is big enough
  bool infinite = false;
