Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Math Functions vs Math Operators in Reference #23

Open
vrracing opened this issue Aug 2, 2016 · 0 comments
Open

Math Functions vs Math Operators in Reference #23

vrracing opened this issue Aug 2, 2016 · 0 comments

Comments

@vrracing
Copy link

vrracing commented Aug 2, 2016

The doc is very good. Well above average for an open source project. I thought this might help some folks...

At...
http://paperjs.org/reference/point/#add-point

the example shows using the Math Operator, not the Math Operator Function. When one is converting from PaperScript to JavaScript this is important. I think line 3 of the example should read...

var result = point1.add( point2 );

instead of the current...

var result = point1 + point2;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant