Permalink
Browse files

adding Math.invert

-Dx
  • Loading branch information...
1 parent 91326f9 commit ddd9fbb73ab4a84f7feca8104c509f460449b5b5 @Xalior committed Apr 15, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 Math.js
View
4 Math.js
@@ -24,4 +24,8 @@ djsex.math = {
return hex;
},
+
+ invert: function(value) {
+ return (value * (-1));
+ },
};

0 comments on commit ddd9fbb

Please sign in to comment.