Permalink
Browse files

Cosmetics

  • Loading branch information...
phoboslab committed Nov 9, 2012
1 parent 4f1910a commit da3f26e93d3dda2da1d21fca49d8ffa95ce5b145
Showing with 1 addition and 4 deletions.
  1. +1 −4 Classes/Ejecta/EJCanvas/EJPath.mm
@@ -477,7 +477,6 @@ - (void)drawLinesToContext:(EJCanvasContext *)context {
BOOL addCaps = (projectedLineWidth > 2 && (state->lineCap == kEJLineCapRound || state->lineCap == kEJLineCapSquare));
// The miter limit is the maximum allowed ratio of the miter length to half the line width.
- // For thin lines we skip computing the miter completely.
BOOL addMiter = (state->lineJoin == kEJLineJoinMiter);
float miterLimit = (state->miterLimit * width2);
@@ -544,9 +543,7 @@ - (void)drawLinesToContext:(EJCanvasContext *)context {
current = next;
next = EJVector2ApplyTransform( *transNext, inverseTransform );
- if( !transCurrent ) {
- continue;
- }
+ if( !transCurrent ) { continue; }
currentEdge = nextEdge;
currentExt = nextExt;

0 comments on commit da3f26e

Please sign in to comment.