Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

bad comment or method Vec2.mul #16

Open
ghost opened this issue Aug 4, 2013 · 0 comments
Open

bad comment or method Vec2.mul #16

ghost opened this issue Aug 4, 2013 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 4, 2013

/**
Multiplies the given vector with this vector.
@method mul
@param {illuminated.Vec2} v A vector to multiply with this vector.
@return {illuminated.Vec2} A new vector that is the result of the multiplication.
_/
cp.Vec2.prototype.mul = function (n) {
return new cp.Vec2(this.x_n, this.y
n);
}

did you have wrong method or comment for argument?

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

No branches or pull requests

0 participants