Difference between revisions of "MIST getNorthCorrection"
From DCS World Wiki - Hoggitworld.com
(No difference)
|
Latest revision as of 22:58, 13 April 2018
mist.getNorthCorrection
Added with: Mist 1.0 |
Description |
The map x direction differs from true north except on one line of longitude (33 degrees). This function returns the angle (in radians) between the map x axis and true north at point. This "correction" should be added to any bearing computed from map Vec3/Vec2 coordinates to get the actual bearing (units are radians). |
Syntax |
number mist.getNorthCorrection(Vec3 point ) |
Valid Input Values: |
Vec3 Table |
Return value: |
number |
Return example: |
.52 |
Usage Examples: |
|
Notes: |
Related Functions |
getHeading, getNorthCorrection, getAttitude, getPitch, getRoll, getYaw, getAoA, getClimbAngle, getDir |