rayzee 7.9.0 → 7.9.1

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/rayzee.es.js CHANGED
@@ -10000,7 +10000,7 @@ var Lu = class extends $s {
10000
10000
  let d = U(M(l).add(.5).div(a).mul(2).sub(1), M(u).add(.5).div(o).mul(2).sub(1).negate(), 1), f = i.mul(W(d, 1)), m = I(ce(r[0].xyz, r[1].xyz, r[2].xyz).mul(f.xyz.div(f.w))), h = yi({
10001
10001
  origin: U(r[3]),
10002
10002
  direction: m
10003
- }), g = Ci.wrap(tl(h, t, e)), _ = g.normal.mul(.5).add(.5), v = g.dst, y = g.didHit.select(W(_, v), W(0, 0, 0, M(65504)));
10003
+ }), g = Ci.wrap(tl(h, t, e)), _ = g.normal.mul(.5).add(.5), v = le(g.dst, M(65504)), y = g.didHit.select(W(_, v), W(0, 0, 0, M(65504)));
10004
10004
  z(s, Le(B(l), B(u)), y).toWriteOnly();
10005
10005
  let b = g.normal.toVar();
10006
10006
  p(g.didHit, () => {