{"name":"vec3","version":"0.0.4","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    ✓ plus \n    ✓ minus \n    ✓ scaled \n    ✓ abs \n    ✓ distanceTo \n    ✓ equals \n    ✓ toString \n    ✓ clone \n    ✓ add \n\n  16 tests complete (5 ms)\n```\n\nMore functions welcome in the form of pull requests.\n","readmeFilename":"README.md","_id":"vec3@0.0.4","dist":{"shasum":"465c2d1726ca90bfc0b945bdab1843f53d3a3471","tarball":"http://registry-npm.ywwl.com/vec3/download/vec3-0.0.4.tgz","integrity":"sha512-lX+RwgFR8+DyuulwAguC82muRKvSuU0nhxEJ9EDdpq7em+uzKrCkSuaiJSY9ofMGKyhiBFUyX9qmABSdztOOFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBJu6G8uvc7zO8RHyw+BdtbQ7UE+Wb5Ow6Mk98PPzkPzAiEAoxGcWiUxpPG1m6Xx8STbiV63hY0O/C4FNaBIixFg7qU="}],"size":1870,"noattachment":false,"key":"/vec3/-/vec3-0.0.4.tgz"},"_npmVersion":"1.1.69","_npmUser":{"name":"superjoe","email":"superjoe30@gmail.com"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"directories":{},"publish_time":1357177845444,"_cnpm_publish_time":1357177845444,"dist-tags":{"latest":"0.2.0"}}