(method)
| 36 | this.z = z || 0; |
| 37 | }, |
| 38 | createPVectorMethod = function(method) { |
| 39 | return function(v1, v2) { |
| 40 | var v = v1.get(); |
| 41 | v[method](v2); |
| 42 | return v; |
| 43 | }; |
| 44 | }, |
| 45 | createSimplePVectorMethod = function(method) { |
| 46 | return function(v1, v2) { |
| 47 | return v1[method](v2); |