summaryrefslogtreecommitdiff
path: root/src/ctx.rs
diff options
context:
space:
mode:
authorIsaac Clayton2022-01-22 10:13:03 +0100
committerIsaac Clayton2022-01-22 10:13:03 +0100
commit449089e80cd294cbf2016ca8b76ba2a14c6637ab (patch)
treebfb2ac459fccb9b74fe207c6dc2abb427e11b0b4 /src/ctx.rs
parent4c947cbed372159fccffbdf6dd639262404ca6e8 (diff)
working on writing quadtree to texture
Diffstat (limited to 'src/ctx.rs')
-rw-r--r--src/ctx.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ctx.rs b/src/ctx.rs
index 38aa4ae..3eebbec 100644
--- a/src/ctx.rs
+++ b/src/ctx.rs
@@ -20,6 +20,10 @@ impl Ctx {
todo!("Turn Base Cell into a vector B");
}
+ pub fn color_base<A>(&mut self, base: &A) -> [u8; 4] {
+ todo!();
+ }
+
/// Compresses a single node into a vector representation.
/// Returns `None` if node has already been compressed and trimmed from tree.
/// To recover a trimmed node, use `expand` on the compressed representation.