Difference between revisions of "MIST hex cubeToAxial"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Mission Scripting |fName= mist.hex.cubeToAxial| |vNum = Mist 4.6 |desc= Converts a hex table of q r s to just be q r One could also convert it by simply defining s as ni...")
 
(No difference)

Latest revision as of 22:26, 1 September 2026


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