Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

src/FLARParam.js: bring back the half-pixel tweaks

  • Loading branch information...
commit 4f27678cdd98a471e1b21250be40ee35863e089f 1 parent 47353d2
Ilmari Heikkinen authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/FLARParam.js
View
4 src/FLARParam.js
@@ -43,8 +43,8 @@ FLARParam = ASKlass('FLARParam', NyARParam,
this._screen_size.h = h;
var f = (w/h) / (4/3);
var dist = new FloatVector([w/2, 1.1*h/2, 26.2, 1.0127565206658486]);
- var projection = new FloatVector([f*700.9514702992245, 0, w/2, 0,
- 0, 726.0941816535367, h/2, 0,
+ var projection = new FloatVector([f*700.9514702992245, 0, w/2-0.5, 0,
+ 0, 726.0941816535367, h/2-0.5, 0,
0, 0, 1, 0]);
this.setValue(dist, projection);
}
Please sign in to comment.
Something went wrong with that request. Please try again.