MIST vecToWP
From DCS World Wiki - Hoggitworld.com
mist.utils.vecToWP
Added with: Mist 4.1 |
Description |
This function takes a Vec2/3 table and returns it as a WP table {x, y, alt}. If passed as a vec2 table the altitude value will be returned as ground level. |
Syntax |
WP mist.utils.vecToWP(table vec2/3 ) |
Valid Input Values: |
any vec2/vec3 table. |
Return value: |
WP |
Return example: |
{x, y, alt} |
Usage Examples: |
|
Notes: |
Related Functions |
makeVec2, makeVec3, zoneToVec3, makeVec3GL, vecToWP, unitToWP |