Add some more WebGl
This commit is contained in:
parent
c9b924d228
commit
066314ede8
23 changed files with 462 additions and 199 deletions
8
frontend/src/scripts/commands/types/before-draw.ts
Normal file
8
frontend/src/scripts/commands/types/before-draw.ts
Normal 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();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,3 @@
|
|||
import { Drawer } from '../../drawing/drawer';
|
||||
import { Command } from '../command';
|
||||
import { Vec2 } from '../../math/vec2';
|
||||
|
||||
|
|
|
|||
7
frontend/src/scripts/commands/types/zoom.ts
Normal file
7
frontend/src/scripts/commands/types/zoom.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import { Command } from '../command';
|
||||
|
||||
export class ZoomCommand extends Command {
|
||||
public constructor(public readonly factor?: number) {
|
||||
super();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue