diff --git a/src/geo/projection/globe_utils.ts b/src/geo/projection/globe_utils.ts index 5823b4586c..3dd2e34e3a 100644 --- a/src/geo/projection/globe_utils.ts +++ b/src/geo/projection/globe_utils.ts @@ -52,7 +52,7 @@ export function angularCoordinatesRadiansToVector(lngRadians: number, latRadians * @returns A 3D vector - coordinates of the projected point on a unit sphere. */ export function projectTileCoordinatesToSphere(inTileX: number, inTileY: number, tileIdX: number, tileIdY: number, tileIdZ: number): vec3 { - // This code could be assembled from 3 fuctions, but this is a hot path for symbol placement, + // This code could be assembled from 3 functions, but this is a hot path for symbol placement, // so for optimization purposes everything is inlined by hand. // // Non-inlined variant of this function would be this: diff --git a/src/geo/transform_interface.ts b/src/geo/transform_interface.ts index 211f9de495..e76731cb58 100644 --- a/src/geo/transform_interface.ts +++ b/src/geo/transform_interface.ts @@ -278,7 +278,7 @@ export interface IReadonlyTransform extends ITransformGetters { /** * @internal - * Return the clipping plane, behind wich nothing should be rendered. If the camera frustum is sufficient + * Return the clipping plane, behind which nothing should be rendered. If the camera frustum is sufficient * to describe the render geometry (additional clipping is not required), this may be null. */ getClippingPlane(): vec4 | null;