Skip to content

Math Functions vs Math Operators in Reference #23

@vrracing

Description

@vrracing

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions