UNPKG

d3-octree

Version:

Three-dimensional recursive spatial subdivision.

8 lines (6 loc) 138 B
export function defaultZ(d) { return d[2]; } export default function(_) { return arguments.length ? (this._z = _, this) : this._z; }