Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Morton Code

An asset by RevolNoom
The page banner background of a mountain and forest
Morton Code hero image

Quick Information

0 ratings
Morton Code icon image
RevolNoom
Morton Code

# GODOT MORTON CODEProvide 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.

Supported Engine Version
4.2
Version String
0.1
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

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:

# 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.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Morton Code icon image
RevolNoom
Morton Code

# GODOT MORTON CODEProvide 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.

Supported Engine Version
4.2
Version String
0.1
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers