From 6705467fe5ce3437b6056f2e16cc3b8f73e2ddcf Mon Sep 17 00:00:00 2001 From: Thibaut Despoulain Date: Wed, 17 Oct 2012 11:58:58 +0200 Subject: [PATCH] Added simple installation instructions. Also fixed method name in bkcore.hexgl.RaceData.js --- README.md | 8 ++++++++ bkcore/hexgl/RaceData.js | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f87b543..02448e0 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,14 @@ To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/ If you feel like you deserve another license for a special case, [drop me a note](http://bkcore.com/contact.html), and we'll talk about it. +## Installation + + cd ~/ + git clone git://github.com/BKcore/HexGL.git + cd HexGL + python -m SimpleHTTPServer + chromium index.html + ## Regarding the code As of now the code is pretty much raw and undocumented. I'll be commenting it someday, but that won't be until I've finished the next content update and code refactoring sorry! diff --git a/bkcore/hexgl/RaceData.js b/bkcore/hexgl/RaceData.js index a32cefe..5618148 100644 --- a/bkcore/hexgl/RaceData.js +++ b/bkcore/hexgl/RaceData.js @@ -48,7 +48,7 @@ bkcore.hexgl.RaceData.prototype.applyInterpolated = function(time) // no interpolation if(this.seek == this.last && time >= prev.time || this.seek == 0) - this.apply(prev.position, prev.quaternion); + this.shipControls.teleport(prev.position, prev.quaternion); // interpolation var next = this.data[this.seek+1];