world.ts 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -398,7 +398,7 @@ const K = 40075017, Oe = (e) => e / 180 * Math.PI, xn = (e) => e * 180 / Math.PI
398
398
  const { target: n, offset: i, distance: r, orientation: s, fieldOfView: o } = {
399
399
  ...xt,
400
400
  ...e
401
- }, [c = 0, a = 0] = t, [f = 0, l = 0] = i, [h = 0, u = 0, d = 0] = s, v = Math.tan(Oe(45) / 2) / Math.tan(Oe(o) / 2), _ = r / K, E = 1e9, p = 1e-3, A = _ * (E + v - 1), y = _ * (p + v - 1), x = ve();
401
+ }, [c = 0, a = 0] = t, [f = 0, l = 0] = i, [h = 0, u = 0, d = 0] = s, v = Math.tan(Oe(45) / 2) / Math.tan(Oe(o) / 2), _ = r / K, E = 1e9, p = 0.01, A = _ * (E + v - 1), y = _ * (p + v - 1), x = ve();
402
402
  ot(x), Vt(x, Oe(o), c / a, y, A), Ct(x, x, [1, -1, 1]);
403
403
  const m = ve();
404
404
  ot(m), Xt(m, m, h), Wt(m, m, u), jt(m, m, d);