Fix build error
This commit is contained in:
parent
26d014d061
commit
f7d7bf002e
2 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { vec2 } from 'gl-matrix';
|
||||
import { ReadonlyVec2, vec2 } from 'gl-matrix';
|
||||
import { DropletFactory, rgb } from 'sdf-2d';
|
||||
import { Random } from '../../helper/random';
|
||||
|
||||
|
|
@ -24,7 +24,7 @@ export class DropletWrapper {
|
|||
);
|
||||
}
|
||||
|
||||
public animate(currentTime: number, viewAreaSize: vec2) {
|
||||
public animate(currentTime: number, viewAreaSize: ReadonlyVec2) {
|
||||
const heightOffset = 100;
|
||||
vec2.set(
|
||||
this.drawable.from,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue