{"name":"vec3","version":"0.0.8","description":"3d vector math with good unit tests","main":"index.js","scripts":{"test":"mocha --reporter spec"},"keywords":["point"],"author":{"name":"Andrew Kelley"},"license":"BSD","devDependencies":{"mocha":"~1.7.4"},"readme":"# vec3\n\n3D vector math with robust unit tests.\n\n## Usage\n\n```js\nvar v = require('vec3');\n\nvar v1 = v(1, 2, 3);\nconsole.log(v1); // prints \"(1, 2, 3)\"\nvar v2 = v1.offset(0, 0, 1);\nconsole.log(v2); // prints \"(1, 2, 4)\"\n```\n\nOr:\n\n```js\nvar Vec3 = require('vec3').Vec3;\n\nvar v1 = new Vec3(1, 2, 3);\n// etc...\n```\n\nMore available functions are listed below in Test Coverage.\n\n## Test Coverage\n\n```\n  v()\n    ✓ no args \n    ✓ x, y, z \n    ✓ array \n    ✓ object \n\n  vec3\n    ✓ floored \n    ✓ floor \n    ✓ offset \n    ✓ translate \n    ✓ plus \n    ✓ minus \n    ✓ scaled \n    ✓ abs \n    ✓ distanceTo \n    ✓ equals \n    ✓ toString \n    ✓ clone \n    ✓ add \n    ✓ subtract \n    ✓ set \n    ✓ modulus \n    ✓ volume \n\n\n  21 tests complete\n```\n\nMore functions welcome in the form of pull requests.\n","readmeFilename":"README.md","_id":"vec3@0.0.8","dist":{"shasum":"371c5e63b2626c9ed8e87f0513ef5317da84c7c9","tarball":"http://registry-npm.ywwl.com/vec3/download/vec3-0.0.8.tgz","integrity":"sha512-iIFCkUri0/zwOpzepDKE9R0Y9H5aQkAKoDo9QOEdNcf2PxGCUypA5S0umIEsxLLQynto5M2ZiOkkkNvOTOlJHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAc/6hR0uVThuu5cPpmQfe/Tizf4GLp8HL49oQVAqe3PAiBup2PL9boW1G6pB3kKDE+znQ3/PIp/pu4DIIwKiw+fAA=="}],"size":2097,"noattachment":false,"key":"/vec3/-/vec3-0.0.8.tgz"},"_npmVersion":"1.1.69","_npmUser":{"name":"superjoe","email":"superjoe30@gmail.com"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"directories":{},"publish_time":1357471130691,"_cnpm_publish_time":1357471130691,"dist-tags":{"latest":"0.2.0"}}