diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2014-03-11 19:51:47 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2014-03-11 19:55:07 -0400 |
commit | 746fdfc554b5584476df93b6c8717d04814cc2d4 (patch) | |
tree | cf18375a8e7561767315b339365ad5f288a9137b /kd-forest.h | |
parent | cd9936f9b09720c949c5fe8262eca45c31244fe3 (diff) | |
download | kd-forest-746fdfc554b5584476df93b6c8717d04814cc2d4.tar.xz |
Allow different color spaces to be used for similarity measurement.
Diffstat (limited to 'kd-forest.h')
-rw-r--r-- | kd-forest.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kd-forest.h b/kd-forest.h index f10f982..75d8666 100644 --- a/kd-forest.h +++ b/kd-forest.h @@ -21,7 +21,7 @@ // Single node in a k-d tree typedef struct kd_node_t { // Node coordinates - int coords[KD_DIMEN]; + double coords[KD_DIMEN]; // Sub-trees struct kd_node_t *left, *right; // Used to keep track of which sub-tree a node is in during construction @@ -34,7 +34,6 @@ typedef struct kd_node_t { } kd_node_t; void kd_node_init(kd_node_t *node, unsigned int x, unsigned int y); -void kd_node_set_color(kd_node_t *node, uint32_t color); // A forest of k-d trees typedef struct { |