Morton Code

by RevolNoom

1

GODOT MORTON CODE

Provide Morton code implementations in 2D and 3D.

Features

  • Encoding/Decoding implemented with Magic bits.
  • x, y, z setters.
  • Add/Subtract x/y/z.
  • Increment/Decrement x/y/z.
  • Comparisons: Less, less-equal, greater, greater-equal.

Credits

Morton code arithmetics ported from:

Version

0.1

Engine

4.2

Category

Scripts

Download

Version0.1
Download Now

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author