API

Function computeLocalBasis

  • Build the east/north/up orthonormal basis at a point on the globe. up is the geocentric normal (normalized position); east and north complete the tangent frame. Like Babylon.js's ComputeLocalBasisToRefs, a right-handed build swaps the cross products, which turns east around and keeps north. Writes into the provided result objects and returns nothing.

    Parameters

    Returns void