Skip to content

Commit

Permalink
Remove /// end of file lines, formatting cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
luisbarrancos committed Dec 3, 2016
1 parent 2fefbb2 commit 3c343a8
Show file tree
Hide file tree
Showing 30 changed files with 0 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
#ifndef AS_MATH_HELPERS_H
#define AS_MATH_HELPERS_H

///////////////////////////////////////////////////////////////////////////////

#ifndef EPS
#define EPS 1.0e-6
#endif
Expand Down Expand Up @@ -62,6 +60,5 @@ float fast_gain(float value, float g)
: fast_bias(value * 2 - 1, 1 - g) * 0.5 + 0.5;
}

///////////////////////////////////////////////////////////////////////////////
#endif // AS_MATH_HELPERS_H

Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
#include "appleseed/color/as_color_helpers.h"
#include "appleseed/math/as_math_helpers.h"

///////////////////////////////////////////////////////////////////////////////

#define OUTSIDE_UVFRAME 999999

#define MAYA_COLORBALANCE_PARAMETERS \
Expand Down Expand Up @@ -167,6 +165,5 @@ color maya_contrast(
return color(R, G, B);
}

///////////////////////////////////////////////////////////////////////////////
#endif // AS_MAYA_HELPERS_H

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_addDoubleLinear.osl
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,3 @@ shader as_maya_addDoubleLinear
out_output = in_input1 + in_input2 ;
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_addMatrix.osl
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,3 @@ shader as_maya_addMatrix
}
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_blendColors.osl
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,3 @@ shader as_maya_blendColors
out_output = mix(in_color2, in_color1, in_blender);
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_clamp.osl
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,3 @@ shader as_maya_clamp
out_output = clamp(in_input, in_min, in_max);
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_clearCoat.osl
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,3 @@ shader as_maya_clearCoat
out_outValue = Kr * in_scale + in_bias;
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_color2Components.osl
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,3 @@ shader as_maya_color2Components
compB = comp[2];
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_components2Color.osl
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,3 @@ shader as_maya_components2Color
comp = color(compR, compG, compB);
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_components2Vector.osl
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,3 @@ shader as_maya_components2Vector
comp = vector(compX, compY, compZ);
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_condition.osl
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,3 @@ shader as_maya_condition
}
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_distanceBetween.osl
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,3 @@ shader as_maya_distanceBetween
out_distance = distance(p1, p2);
}

///////////////////////////////////////////////////////////////////////////////

Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,3 @@ shader as_maya_doubleShadingSwitch
}
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_fourByFourMatrix.osl
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,3 @@ shader as_maya_fourByFourMatrix
in_in30, in_in31, in_in32, in_in33 );
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_hsvToRgb.osl
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,3 @@ shader as_maya_hsvToRgb
out_outRgb = transformc("hsv", "rgb", in_inHsv);
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_lambert.osl
Original file line number Diff line number Diff line change
Expand Up @@ -282,5 +282,3 @@ shader as_maya_lambert
}
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_matrixInverse.osl
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,3 @@ shader as_maya_matrixInverse
out_outputMatrix = inverse(in_inputMatrix);
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_multDoubleLinear.osl
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,3 @@ shader as_maya_multDoubleLinear
out_output = in_input1 * in_input2 ;
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_multMatrix.osl
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,3 @@ shader as_maya_multMatrix
}
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_multiplyDivide.osl
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,3 @@ shader as_maya_multiplyDivide
}
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_plusMinusAverage.osl
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,3 @@ shader as_maya_plusMinusAverage
}
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_quadShadingSwitch.osl
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,3 @@ shader as_maya_quadShadingSwitch
}
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_reverse.osl
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,3 @@ shader as_maya_reverse
out_output = 1.0 - in_input;
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_rgbToHsv.osl
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,3 @@ shader as_maya_rgbToHsv
out_outHsv = transformc("rgb", "hsv", in_inRgb);
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_samplerInfo.osl
Original file line number Diff line number Diff line change
Expand Up @@ -164,5 +164,3 @@ shader as_maya_samplerInfo
out_facingRatio = max(0, dot(normalize(-I), normalize(N)));
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_setRange.osl
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,3 @@ shader as_maya_setRange
}
}

///////////////////////////////////////////////////////////////////////////////

Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,3 @@ shader as_maya_singleShadingSwitch
}
}

///////////////////////////////////////////////////////////////////////////////

Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,3 @@ shader as_maya_tripleShadingSwitch
}
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_vector2Components.osl
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,3 @@ shader as_maya_vector2Components
compZ = comp[2];
}

///////////////////////////////////////////////////////////////////////////////

2 changes: 0 additions & 2 deletions src/appleseed.shaders/src/maya/as_maya_vectorProduct.osl
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,3 @@ shader as_maya_vectorProduct
}
}

///////////////////////////////////////////////////////////////////////////////

0 comments on commit 3c343a8

Please sign in to comment.