Update to use new SDF2D version
This commit is contained in:
parent
f0a9c1df68
commit
9062ae04a3
14 changed files with 160 additions and 209 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import { vec2 } from 'gl-matrix';
|
||||
import { DropletFactory } from 'sdf-2d';
|
||||
import { DropletFactory, rgb } from 'sdf-2d';
|
||||
import { Random } from '../../helper/random';
|
||||
|
||||
export const Droplet = DropletFactory(1);
|
||||
export const Droplet = DropletFactory(rgb(0.3, 1, 1));
|
||||
export class DropletWrapper {
|
||||
public readonly drawable: InstanceType<typeof Droplet>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue