PVector add method is incorrectly documented or implemented
Closed this issue · 3 comments
lgto4 commented
var v = new PVector();
println(v);
v.add(1, 2);
println(v);
The Processing.js PVector add method expects one or three arguments. Khan Academy users following Khan Academy documentation are disappointed.
pamelafox commented
Good catch, added "z" to the documentation: https://www.khanacademy.org/computer-programming/pvectoraddx-y/4680458877009920 How's that look?
lgto4 commented
The updated documentation looks good to me.
pamelafox commented
Great, closing!