summaryrefslogtreecommitdiff
path: root/src/step.rs
diff options
context:
space:
mode:
authorIsaac Clayton2022-01-22 13:35:33 +0100
committerIsaac Clayton2022-01-22 13:35:33 +0100
commit0628e1bc68fd077ef76100b494638a7327e8410e (patch)
treee58a4515ce5fe802a74ad670abc2a3dfea31c38e /src/step.rs
parent449089e80cd294cbf2016ca8b76ba2a14c6637ab (diff)
Started working on rendering quadtree
Diffstat (limited to 'src/step.rs')
-rw-r--r--src/step.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/step.rs b/src/step.rs
index 1256688..7010bd9 100644
--- a/src/step.rs
+++ b/src/step.rs
@@ -1,7 +1,7 @@
use crate::ctx::Ctx;
-use crate::quad::Node;
+use crate::quad::{Node, Embed};
-pub fn step<A: Default, B: Copy>(ctx: &mut Ctx, node: Node<A, B>) -> Node<A, B> {
+pub fn step<A: Embed, B: Embed>(ctx: &mut Ctx<A, B>, node: Node<A, B>) -> Node<A, B> {
// pad the graph if needed.
// if we're at the base, run the cellular automation rule: