Function latLngToVector3Relative

  • Converts latitude and longitude to world space coordinates relative to a reference location with y up.

    Parameters

    • point: LatLngAltitudeLiteral
    • reference: LatLngAltitudeLiteral
    • target: Vector3 = ...

    Returns Vector3