Crates.io | keyde |
lib.rs | keyde |
version | 0.2.4 |
source | src |
created_at | 2022-12-08 00:19:30.205088 |
updated_at | 2022-12-12 07:06:11.230001 |
description | Fast, Dependency-free Spacial Queries |
homepage | |
repository | https://github.com/ErikWDev/keyde |
max_upload_size | |
id | 732257 |
size | 40,570 |
Keyde aims to provide minimal yet fast implementations of spacial query structures.
Currently, keyde provides a:
Keyde provides a Point
trait that is implemented for arrays of sizes 1 to 4,
tuples of 2 and 3 dimension as well as for all the basic 1D types (u8, i8, isize..)
By enabling optional features such as glam
, you can get an implementation for that crate's
default Vec3, Vec4, Vec2 and Vec3A types.
Keyde wants to suppoort more linear algebra crates, so feel free to make a PR and add your favorite one.
See src/point_implementations.rs
for inspiration.
Key things that differ keyde's kd-tree implementation from others:
KdTreeStrategy
to choose sorting strategy which might help you find a
creation/querying-strategy that is more optimal for your particular data layout