MIST hex cubeToAxial

From DCS World Wiki - Hoggitworld.com


mist.hex.cubeToAxial

Added with: Mist 4.6
Description
Converts a hex table of q r s to just be q r

One could also convert it by simply defining s as nil

Syntax
table mist.hex.cubeToAxial(table qr )
Valid Input Values:
Return value:
table
Return example:
Usage Examples:
Notes:
Related Functions
to, getRadius, setRadius, add, subtract,scale, rotate_left, rotate_right, neighbor, getNeighborCount, diagonalNeighbor, length, distance, round, lerp, cubeScale, cubeRing, cubeSpiral, lineDraw, cubeToAxial, axialToCube, pointToHex, makeVek2, makeVec3, makeVec3GL, hash, hashToHex, draw

Scripting Engine

MIST Root Page