← all packages

sovvie/quadtree 1.0.0

Generic 2D quadtree for spatial partitioning of Vector2-positioned nodes. Supports Insert/BulkInsert (Morton-code sorted), Locate, QueryRange with optional predicate, Remove, Clear, GetDepth, and Visualize. Includes a companion Rectangle type with Contains/Intersects checks and a fromXZRadius helper for XZ-plane queries.

Install

Quadtree = "sovvie/quadtree@^1.0.0"

Versions

VersionRealmPublished
1.0.0 shared2026-09-26 download

Owners

sovvie