Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #152

Merged
merged 1 commit into from
May 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/CompositeTilemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type { TileRenderer } from './TileRenderer';
/**
* A tilemap composite that lazily builds tilesets layered into multiple tilemaps.
*
* The composite tileset is the concatenatation of the individual tilesets used in the tilemaps. You can
* The composite tileset is the concatenation of the individual tilesets used in the tilemaps. You can
* preinitialized it by passing a list of tile textures to the constructor. Otherwise, the composite tilemap
* is lazily built as you add more tiles with newer tile textures. A new tilemap is created once the last
* tilemap has reached its limit (as set by {@link CompositeTilemap.texturesPerTilemap texturesPerTilemap}).
Expand Down
2 changes: 1 addition & 1 deletion src/TextileResource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type TextureTile = {
baseTexture: BaseTexture;
};

// For some reason ESLint goes mad with indendation in this file ^&^
// For some reason, ESLint goes mad with indentation in this file ^&^
/* eslint-disable indent */

/**
Expand Down
2 changes: 1 addition & 1 deletion src/TileRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { settings } from './settings';
import { TilemapGeometry, TilemapShader } from './TilemapShader';
import { TextileResource } from './TextileResource';

// For some reason ESLint goes mad with indendation in this file ^&^
// For some reason, ESLint goes mad with indentation in this file ^&^
/* eslint-disable no-mixed-spaces-and-tabs, indent */

/**
Expand Down
2 changes: 1 addition & 1 deletion src/TilemapShader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void main(void)

import { Buffer, Geometry, Shader, Program, Matrix } from '@pixi/core';

// For some reason ESLint goes mad with indendation in this file ^&^
// For some reason, ESLint goes mad with indentation in this file ^&^
/* eslint-disable no-mixed-spaces-and-tabs, indent */

export class TilemapShader extends Shader
Expand Down
2 changes: 1 addition & 1 deletion src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const settings = {
* The width/height of each texture tile in a {@link TEXTILE_DIMEN}. This is 1024px by default.
*
* This should fit all tile base-textures; otherwise, {@link TextileResource} may fail to correctly
* upload the textures togther in a tiled fashion.
* upload the textures together in a tiled fashion.
*/
TEXTILE_DIMEN: 1024,

Expand Down