localTriad

function localTriad
surfaceStance.ts:177
localTriad(up: Vec3) → LocalTriad

East, north and up at a point on the sphere.

+Y is the pole, the same convention geodeticDirection and spinEvaluator use. At the poles the pole and the up direction are parallel and east is undefined; any perpendicular is as good as any other there, which is the same bargain lookAlong makes about a nadir shot. Without the fallback the triad degenerates to zeros and the camera's orientation becomes NaN — a black frame, with nothing in the console.

upVec3
Undocumented
ReturnsLocalTriad