mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-29 15:19:20 -04:00
Fix some comments.
This commit is contained in:
parent
84b202fd79
commit
0436b2749a
1 changed files with 2 additions and 2 deletions
|
@ -958,7 +958,7 @@ statics: {
|
||||||
* @return {Number} the curvature of the curve at the given offset
|
* @return {Number} the curvature of the curve at the given offset
|
||||||
*/
|
*/
|
||||||
},
|
},
|
||||||
new function() { // // Scope to inject various evaluate methods
|
new function() { // // Scope to inject various curve evaluation methods
|
||||||
var methods = ['getPoint', 'getTangent', 'getNormal', 'getWeightedTangent',
|
var methods = ['getPoint', 'getTangent', 'getNormal', 'getWeightedTangent',
|
||||||
'getWeightedNormal', 'getCurvature'];
|
'getWeightedNormal', 'getCurvature'];
|
||||||
return Base.each(methods,
|
return Base.each(methods,
|
||||||
|
@ -966,7 +966,7 @@ new function() { // // Scope to inject various evaluate methods
|
||||||
// determine the bounds of Curve objects with defined segment1 and segment2
|
// determine the bounds of Curve objects with defined segment1 and segment2
|
||||||
// values Curve.getBounds() can be used directly on curve arrays, without
|
// values Curve.getBounds() can be used directly on curve arrays, without
|
||||||
// the need to create a Curve object first, as required by the code that
|
// the need to create a Curve object first, as required by the code that
|
||||||
// finds path interesections.
|
// finds path intersections.
|
||||||
function(name) {
|
function(name) {
|
||||||
this[name + 'At'] = function(offset, isParameter) {
|
this[name + 'At'] = function(offset, isParameter) {
|
||||||
var values = this.getValues();
|
var values = this.getValues();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue