2021-01-11 20:32:57 -08:00

1.9 KiB
Raw Permalink Blame History

Planck.js API Doc › Globals › Manifold

Interface: Manifold

Hierarchy

  • Manifold

Index

Properties

Methods

Properties

localNormal

• localNormal: Vec2

Defined in index.d.ts:50


localPoint

• localPoint: Vec2

Defined in index.d.ts:51


pointCount

• pointCount: number

Defined in index.d.ts:53


points

• points: ManifoldPoint[]

Defined in index.d.ts:52


type

• type: ManifoldType

Defined in index.d.ts:49

Methods

getWorldManifold

▸ getWorldManifold(wm: WorldManifold | undefined, xfA: Transform, radiusA: number, xfB: Transform, radiusB: number): WorldManifold | undefined

Defined in index.d.ts:55

Parameters:

Name Type
wm WorldManifold | undefined
xfA Transform
radiusA number
xfB Transform
radiusB number

Returns: WorldManifold | undefined