generate Position And Orientation Target Centered
external fun generatePositionAndOrientationTargetCentered(targetLonLatDegAltMeters: Coordinates, cameraHeadingPitchDegDistanceMeters: Tuple3d, resultPosition: Tuple3d, resultOrientation: Tuple4d): Int
Generate a position and orientation relative to, and oriented toward/centered on, a target position which is relative to the focused sphere (orientation relative to sphere).
Parameters
target Lon Lat Deg Alt Meters
desired lon, lat and alt for target
camera Heading Pitch Deg Distance Meters
desired heading, pitch and distance for camera
result Position
computed position
result Orientation
computed orientation