diff options
Diffstat (limited to 'src/step.rs')
-rw-r--r-- | src/step.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/step.rs b/src/step.rs index 7010bd9..35d4328 100644 --- a/src/step.rs +++ b/src/step.rs @@ -1,7 +1,10 @@ -use crate::ctx::Ctx; +use crate::ctx::{Ctx, Approx}; use crate::quad::{Node, Embed}; -pub fn step<A: Embed, B: Embed>(ctx: &mut Ctx<A, B>, node: Node<A, B>) -> Node<A, B> { +pub fn step<A: Embed, B: Embed, S, N: Approx<A, B, S>>( + ctx: &mut Ctx<A, B, S, N>, + node: Node<A, B> +) -> Node<A, B> { // pad the graph if needed. // if we're at the base, run the cellular automation rule: |