Hi there,
I see that Defold has its own lib for bitwise operations (https://www.defold.com/ref/bit)
I’m wondering what’s the equivalent for >>>
(Zero-fill right shift) from JavaScript.
Apparently LuaBit has this method, which has the following signature:
-- LuaBit's zero-fill right shift
bit.blogic_rshift(n, bits) -- logic right shift(zero fill >>>)
More info:
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators
- http://lua-users.org/wiki/BitwiseOperators
Any help is appreciated!
Cheers,
Endel