MIST hex pointToHex
From DCS World Wiki - Hoggitworld.com
mist.hex.pointToHex
| Added with: Mist 4.6 |
| Description |
| Converts a vec2 or vec3 point into a qrs coordinate.
The "error" of converting to a qrs and that qrs back to a point will depend on the size of the hexRadius set. |
| Syntax |
| table mist.hex.pointToHex(table vec2/vec3 ) |
| 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 |
