Skip to content

Commit

Permalink
project cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
flyover committed Sep 24, 2020
1 parent 547e16b commit 5fbb244
Show file tree
Hide file tree
Showing 36 changed files with 550 additions and 47 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
node_modules
package-lock.json
39 changes: 39 additions & 0 deletions build/demo/atlas.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
export declare class Page {
name: string;
w: number;
h: number;
format: string;
min_filter: string;
mag_filter: string;
wrap_s: string;
wrap_t: string;
}
export declare class Site {
page: Page;
x: number;
y: number;
w: number;
h: number;
rotate: number;
offset_x: number;
offset_y: number;
original_w: number;
original_h: number;
index: number;
constructor(page: Page);
}
export declare class Data {
pages: Page[];
sites: {
[key: string]: Site;
};
free(): void;
import(text: string): this;
export(text?: string): string;
importAtlasText(text: string): this;
exportAtlasText(text?: string): string;
importAtlasTextLines(lines: string[]): this;
exportAtlasTextLines(lines?: string[]): string[];
importTpsText(tps_text: string): this;
importTpsTextPage(tps_text: string, page_index?: number): this;
}
223 changes: 223 additions & 0 deletions build/demo/atlas.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5fbb244

Please sign in to comment.