diff --git a/crates/fj-kernel/src/operations/insert.rs b/crates/fj-kernel/src/operations/insert.rs index 6cf0eebc4..8c71d9a74 100644 --- a/crates/fj-kernel/src/operations/insert.rs +++ b/crates/fj-kernel/src/operations/insert.rs @@ -7,7 +7,7 @@ use crate::{ storage::Handle, }; -use super::Polygon; +use super::{Polygon, Tetrahedron}; /// Insert an object into its respective store /// @@ -91,3 +91,17 @@ impl Insert for Polygon { } } } + +impl Insert for Tetrahedron { + type Inserted = Tetrahedron; + + fn insert(self, services: &mut Services) -> Self::Inserted { + Tetrahedron { + shell: self.shell.insert(services), + abc: self.abc, + bad: self.bad, + dac: self.dac, + cbd: self.cbd, + } + } +}