aboutsummaryrefslogtreecommitdiff
path: root/web/pw-visualizer/src/webgl/util.ts
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-11-06 17:43:00 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2022-11-06 18:07:16 +0100
commitfdc2ab9421c6a38c6bbd9b621c4da4f2c147a773 (patch)
tree50466d9b751f1e1eb3ee8a47479a4d28b5050aa6 /web/pw-visualizer/src/webgl/util.ts
parentd3845eb85fc8f75562a6e121c5e437763ffeea63 (diff)
downloadplanetwars.dev-fdc2ab9421c6a38c6bbd9b621c4da4f2c147a773.tar.xz
planetwars.dev-fdc2ab9421c6a38c6bbd9b621c4da4f2c147a773.zip
msdf font renderen
Diffstat (limited to 'web/pw-visualizer/src/webgl/util.ts')
-rw-r--r--web/pw-visualizer/src/webgl/util.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/pw-visualizer/src/webgl/util.ts b/web/pw-visualizer/src/webgl/util.ts
index 7b55d19..922b016 100644
--- a/web/pw-visualizer/src/webgl/util.ts
+++ b/web/pw-visualizer/src/webgl/util.ts
@@ -74,6 +74,7 @@ export class Resizer {
mouse_pos = [0, 0];
last_drag = [0, 0];
+ // x, y, w, h
viewbox: number[];
orig_viewbox: number[];