MIST getNorthCorrection

From DCS World Wiki - Hoggitworld.com


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:

do

--code needed 

end

Notes:
Related Functions
getHeading, getNorthCorrection, getAttitude, getPitch, getRoll, getYaw, getAoA, getClimbAngle, getDir

Scripting Engine

MIST Root Page