cross
cross product of 3-dimensional vectors
Last updated 10 years ago by substack .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ npm install cross 
SYNC missed versions from official npm registry.

cross

cross product

This implementation was ripped directly out of gl-matrix.

example

var cross = require('cross');
var a = process.argv[2].split(',');
var b = process.argv[3].split(',');
console.log(cross([], a, b));

output:

$ node cross.js 3,-3,1 4,9,2
[ -15, -2, 39 ]

methods

var cross = require('cross')

cross(out, a, b)

Save the cross-product of vectors a and b into out, returning out.

install

With npm do:

npm install cross

license

BSD

Current Tags

  • 1.0.0                                ...           latest (10 years ago)

1 Versions

  • 1.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 1
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE