Add some more WebGl

This commit is contained in:
schmelczerandras 2020-07-20 21:58:31 +02:00
parent c9b924d228
commit 066314ede8
23 changed files with 462 additions and 199 deletions

View file

@ -0,0 +1,8 @@
import { Drawer } from '../../drawing/drawer';
import { Command } from '../command';
export class BeforeDrawCommand extends Command {
public constructor(public readonly drawer?: Drawer) {
super();
}
}

View file

@ -1,4 +1,3 @@
import { Drawer } from '../../drawing/drawer';
import { Command } from '../command';
import { Vec2 } from '../../math/vec2';

View file

@ -0,0 +1,7 @@
import { Command } from '../command';
export class ZoomCommand extends Command {
public constructor(public readonly factor?: number) {
super();
}
}