diff --git a/crates/kernel/src/prism_curve.rs b/crates/kernel/src/prism_curve.rs index 4b4e47aa0..121112ae1 100644 --- a/crates/kernel/src/prism_curve.rs +++ b/crates/kernel/src/prism_curve.rs @@ -302,7 +302,8 @@ pub(crate) fn segment(run: &Run, plane: &Plane, tol: f64, work: &mut usize) -> O /// `run` in `plane` exactly as segments: as [`segment`], and a curve of several Bézier spans /// (a chain of a font's curves, a spline through points) as one segment per span, each the /// line, conic or Bézier it is, for a planar region's outline. `None` when the edge doesn't lie -/// in a plane parallel to `plane` or isn't read exactly. +/// in a plane parallel to `plane` or isn't read exactly. Only planar sheets read on SMLib use it. +#[cfg(feature = "smlib")] pub(crate) fn projected(run: &Run, plane: &Plane, tol: f64, work: &mut usize) -> Option> { read(run, plane, tol, work, true) }