1. 17 6月, 2016 1 次提交
    • J
      Shapes refactor (#9079) · 6df2c331
      Joshua Koo 提交于
      * Consistent getPoints and getSpacedPoints on ellipse
      
      They work as getSpacedPoints used to (but with the final point)
      The arc between aStartAngle and aEndAngle is always forced in the 0, 2
      PI area, as getSpacedPoints did (but not getPoints)
      
      * Refactor Path class
      
      - got rid of .actions
      - getPoints() moved to CurvePath
      - toShapes() moved to new class ShapePath
      
      * Path: simplify usage of this.currentPoint
      
      * Optimize LineCurve.getPoint(1) as suggested by @rfm1201 in #8952
      
      - this minimizes some floating point errors when t = 1
      
      * Fix up missing changes to CurvePath and EllipseCurve
      
      - as commented by @rfm1201
      - using f040453 as reference
      
      * Path: update currentPoint for .splineThru(), add automatic lineTo()
      
      - for ellipse
      
      * CurvePath: address some removeDuplicatesInAPath() concerns
      
      - also cleanup some old reference to .actions
      
      * Path/CurvePath getPoints() shouldn't return sequence of duplicate points
      
      * In path.absellipse, lineTo is drawn only to connect existing path
      
      - when necessary
      6df2c331
  2. 31 5月, 2016 1 次提交
    • R
      Last spline coordinates not stored in actions (#8878) · 6e4e8998
      rfm1201 提交于
      In the actions array of the Path, the last elements of the args array
      need to be the x and y of the last point of the segment added to the
      path.
      Not the case with splineThru => cause an exception if you add an other
      segment after the pline (without a moveTo).
      Used the same trick as absellipse does.
      6e4e8998
  3. 08 5月, 2016 1 次提交
  4. 23 11月, 2015 1 次提交
  5. 16 10月, 2015 5 次提交
  6. 14 10月, 2015 1 次提交
  7. 12 10月, 2015 1 次提交
  8. 08 10月, 2015 1 次提交
  9. 12 8月, 2015 1 次提交
  10. 08 8月, 2015 1 次提交
  11. 05 8月, 2015 1 次提交
  12. 25 7月, 2015 2 次提交
  13. 25 6月, 2015 1 次提交
    • D
      Fix typos · 324cfb9d
      dubejf 提交于
      eg. / e.g.
      vertice / vertex
      fullframe / full-frame
      todo / TODO
      unreckognized / unrecognized
      ontop / in front
      initialise / initialize
      unforms / uniforms
      overriden / overridden
      interpolatation / interpolation
      subsurve / sub-curve
      Catmull-rom / Catmull-Rom
      consruct / construct
      colinear / collinear
      perpenicular / perpendicular
      minimim / minimum
      segements / segments
      speficied / specified
      compatable / compatible
      egde / edge
      initalization / initialization
      shiftet / shifted
      childrens' / children's
      ambigious / ambiguous
      barycoordinates / barycentric coordinates
      equi distance / equidistant
      equidistance / equidistant
      ist / is
      
      And remove one `console.log`
      324cfb9d
  14. 09 5月, 2015 1 次提交
  15. 30 4月, 2015 1 次提交
  16. 06 4月, 2015 1 次提交
  17. 24 3月, 2015 1 次提交
  18. 12 3月, 2015 1 次提交
  19. 20 2月, 2015 1 次提交
  20. 19 2月, 2015 1 次提交
  21. 11 11月, 2014 1 次提交
  22. 31 5月, 2014 1 次提交
  23. 29 3月, 2014 2 次提交
  24. 29 1月, 2014 1 次提交
  25. 05 9月, 2013 1 次提交
    • E
      Fix ellipses #3833 · 4d4bdcb7
      Emery 提交于
      - aClockwise goes anti-clockwise
      - The end point is now correct and no longer breaks path continuity
      4d4bdcb7
  26. 20 6月, 2013 1 次提交
  27. 24 3月, 2013 1 次提交
  28. 19 7月, 2012 1 次提交
    • Z
      Fixes relating to #1879 and possibly #1501 · 2ceae006
      zz85 提交于
      - Path.js (esp. Arcs) is still confusing, but as of now
      - Ellipses should work
      - Path still uses "PATH.ACTIONS"
      - the internal curve representation doesn't seem to be used yet
      - Path.arc() uses .absarc() which uses .absellipse()
      - examples/webgl_geometry_shapes.html should run now
      2ceae006
  29. 26 6月, 2012 1 次提交
  30. 08 5月, 2012 1 次提交
  31. 04 5月, 2012 1 次提交
  32. 01 4月, 2012 1 次提交
  33. 14 3月, 2012 1 次提交
  34. 04 1月, 2012 1 次提交