Advertisement
pcwizz

using args as array

Jun 3rd, 2014
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. getVertexIndexs = function(){
  2.         var output = [];
  3.         for (var i = arguments.length - 1; i >= 0; i--) {
  4.             output.push(this.vertices.indexOf(arguments[i]));
  5.         };
  6.         return output;
  7.     };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement