-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: janusweb action: commit revision: path_from: revision_from: 0efc2748d56dd7701bc28ea714c0a7f3c68930cd: path_to: revision_to:
commit 0efc2748d56dd7701bc28ea714c0a7f3c68930cd Author: James Baicoianu <james_github@baicoianu.com> Date: Mon Oct 1 17:42:34 2018 -0700 Send player scale in network update packets diff --git a/scripts/multiplayermanager.js b/scripts/multiplayermanager.js
--- a/scripts/multiplayermanager.js +++ b/scripts/multiplayermanager.js @@ -216,6 +216,7 @@ console.log('[MultiplayerManager] set active room:', room, this.activeroom); var moveData = this.movedata; moveData.pos = player.properties.position.toArray().map(function(n) { return parseFloat(n.toFixed(4)); }).join(" "); moveData.vel = player.properties.velocity.toArray().map(function(n) { return parseFloat(n.toFixed(4)); }).join(" "); + moveData.scale = player.properties.scale.toArray().map(function(n) { return parseFloat(n.toFixed(4)); }).join(" "); moveData.rotvel = player.properties.angular.toArray().map(function(n) { return parseFloat(n.toFixed(4)); }).join(" "); moveData.dir = dirs.dir; moveData.up_dir = dirs.up_dir;
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 15:40:41 2024