mortonEncode_magicbits
mortonEncode_magicbits(x, y, z) ⇒ number
Based on article and C++ source code: https://www.forceflow.be/2013/10/07/morton-encodingdecoding-through-bit-interleaving-implementations/ https://github.com/Forceflow/libmorton/blob/main/libmorton/morton3D.h
Kind: global function
| Param | Type |
|---|---|
| x | number |
| y | number |
| z | number |