mirror of
https://github.com/jwetzell/psn-js.git
synced 2026-08-20 22:49:23 +00:00
ENCODING!! and lots of organization
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
const chunk = require('../chunk');
|
||||
|
||||
module.exports = (x, y, z) => {
|
||||
const buf = Buffer.alloc(12);
|
||||
buf.writeFloatLE(x);
|
||||
buf.writeFloatLE(y, 4);
|
||||
buf.writeFloatLE(z, 8);
|
||||
return chunk(0x0000, buf, false);
|
||||
};
|
||||
Reference in New Issue
Block a user