Interface EnsurePointsOptions

interface EnsurePointsOptions {
    sliceStart?: number;
    truncate?: boolean;
    vecPool?: Pool<Vec2>;
}

Properties

sliceStart?: number

If given, will only ignore part of array before start

truncate?: boolean

If the array should be truncated if there are more points than needed

vecPool?: Pool<Vec2>

Optional pool to take additional points from/return unneeded points to