Hexagon Demo

    Hexagon Demo icon
    View Previous Icons
    Owner: stravantGenre: CCUs: 0Like ratio: 100%

    Description

    Small useful pair of modules for working with Hexagonal data: HexGrid is a hexagonal grid that stores data at given u/v/w coordinates (u/v/w being the three primary axis of the hexagonal grid, note, using u/v/w coords means that coordinates will be NON UNIQUE, and multiple coordinates may represent the same value. For instance, [1,0,1] is equivalent to [0,1,0] in my chosen basis.) HexAdapterUniform takes a HexGrid and a World position and lets you transform world positions to hex grid coordinates and vice versa, also telling you what edge a point is closest to when converting world coords to grid coords. HexGridView is a test class to debug-draw a hex-grid while I'm testing stuff.

    Playing

    Visits

    Ratings

    Session Length

    Platform Share