Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DropletBase

Hierarchy

  • EmptyDrawable
    • DropletBase

Index

Constructors

constructor

  • new DropletBase(from: vec2, to: vec2, fromRadius: number, toRadius: number): DropletBase

Properties

Readonly from

from: vec2

Readonly fromRadius

fromRadius: number

Readonly to

to: vec2

Readonly toRadius

toRadius: number

Static Readonly descriptor

descriptor: DrawableDescriptor

Methods

Protected getObjectToSerialize

  • getObjectToSerialize(transform2d: mat2d, transform1d: number): any

minDistance

  • minDistance(target: vec2): number