File tree Expand file tree Collapse file tree
src/renderer/webgl/pipelines Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ var FlatTintPipeline = new Class({
192192 * @param {number } srcScaleX - Graphics horizontal component for scale
193193 * @param {number } srcScaleY - Graphics vertical component for scale
194194 * @param {number } srcRotation - Graphics rotation
195- * @param {number } x - Horiztonal top left coordinate of the rectangle
195+ * @param {number } x - Horizontal top left coordinate of the rectangle
196196 * @param {number } y - Vertical top left coordinate of the rectangle
197197 * @param {number } width - Width of the rectangle
198198 * @param {number } height - Height of the rectangle
@@ -847,7 +847,6 @@ var FlatTintPipeline = new Class({
847847 radius = commands [ cmdIndex + 3 ] ;
848848 startAngle = commands [ cmdIndex + 4 ] ;
849849 endAngle = commands [ cmdIndex + 5 ] ;
850- anticlockwise = commands [ cmdIndex + 6 ] ;
851850
852851 if ( lastPath === null )
853852 {
@@ -856,28 +855,6 @@ var FlatTintPipeline = new Class({
856855 iteration += iterStep ;
857856 }
858857
859- endAngle -= startAngle ;
860-
861- if ( anticlockwise )
862- {
863- if ( endAngle < - PI2 )
864- {
865- endAngle = - PI2 ;
866- }
867- else if ( endAngle > 0 )
868- {
869- endAngle = - PI2 + endAngle % PI2 ;
870- }
871- }
872- else if ( endAngle > PI2 )
873- {
874- endAngle = PI2 ;
875- }
876- else if ( endAngle < 0 )
877- {
878- endAngle = PI2 + endAngle % PI2 ;
879- }
880-
881858 while ( iteration < 1 )
882859 {
883860 ta = endAngle * iteration + startAngle ;
You can’t perform that action at this time.
0 commit comments