Update to use new sdf-2d API
This commit is contained in:
parent
41ea5d7db9
commit
f0a9c1df68
13 changed files with 38 additions and 41 deletions
|
|
@ -1,11 +1,9 @@
|
|||
import { vec2 } from 'gl-matrix';
|
||||
import { compile, Flashlight, MetaCircle, Renderer } from 'sdf-2d';
|
||||
import { compile, Flashlight, Renderer, rgb, rgb255 } from 'sdf-2d';
|
||||
import { prettyPrint } from '../../helper/pretty-print';
|
||||
import { Random } from '../../helper/random';
|
||||
import { rgb } from '../../helper/rgb';
|
||||
import { rgb255 } from '../../helper/rgb255';
|
||||
import { Scene } from '../scene';
|
||||
import { Metaball } from './metaball';
|
||||
import { Metaball, MetaCircle } from './metaball';
|
||||
|
||||
export class MetaballScene implements Scene {
|
||||
private circles: Array<Metaball> = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue