Open
Description
Point = (function (_super) {
__extends(Point, _super);
Point.name = 'Point';
function Point() {
return Point.__super__.constructor.apply(this, arguments);
}
return Point;
}) (PVector);
I try to subclass PVector. Resulting class is not what expected, constructor doesn't call PVector's constructor. Looks like Point.super.constructor is general Object constructor, not PVector's one.
I don't know why ProcessingJS has these lines in PVector.js. I think this is A problem.
Metadata
Metadata
Assignees
Labels
No labels