API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

N

namespaceSweep

@codexo/exojs / math / stable

Swept (continuous) collision queries, grouped as a namespace so the public API carries no loose `sweep*` functions. The underlying functions stay module exports for internal use; only this facade is in the public barrel.

6
props
0
methods
0
events
Import
import { Sweep } from '@codexo/exojs'

Swept (continuous) collision queries, grouped as a namespace so the public API carries no loose `sweep*` functions. The underlying functions stay module exports for internal use; only this facade is in the public barrel.

Properties6
substep: (fromX: number, fromY: number, deltaX: number, deltaY: number, maxStepSize: number) => IterableIterator<{ t: number; x: number; y: number }>
Source