Skip to content

Commit

Permalink
Fix a couple of typos (#5483)
Browse files Browse the repository at this point in the history
Co-authored-by: Harel M <[email protected]>
  • Loading branch information
coliff and HarelM authored Feb 10, 2025
1 parent 36f9bb6 commit 75299d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/geo/projection/globe_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/geo/transform_interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 75299d5

Please sign in to comment.