From b5ec5738f39711a60c7669f0dd46408dc5e38c10 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 4 May 2023 12:01:42 +0200 Subject: [PATCH] Track insertion status of `Tetrahedron` --- crates/fj-kernel/src/operations/build/shell.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/crates/fj-kernel/src/operations/build/shell.rs b/crates/fj-kernel/src/operations/build/shell.rs index c18b6bc06..d41f47f9f 100644 --- a/crates/fj-kernel/src/operations/build/shell.rs +++ b/crates/fj-kernel/src/operations/build/shell.rs @@ -2,7 +2,9 @@ use fj_math::Point; use crate::{ objects::{Face, Shell}, - operations::{Insert, IsInsertedYes, JoinCycle, UpdateFace}, + operations::{ + Insert, IsInserted, IsInsertedNo, IsInsertedYes, JoinCycle, UpdateFace, + }, services::Services, }; @@ -83,9 +85,9 @@ impl BuildShell for Shell {} /// `d`, in the order in which they are passed. /// /// Returned by [`BuildShell::tetrahedron`]. -pub struct Tetrahedron { +pub struct Tetrahedron { /// The shell that forms the tetrahedron - pub shell: Shell, + pub shell: I::T, /// The face formed by the points `a`, `b`, and `c`. pub abc: Polygon<3, IsInsertedYes>,