Make fields of `PartialCurve` public

This commit is contained in:
Hanno Braun 2022-11-11 14:14:48 +01:00
parent b64c84b846
commit 00527992ca
1 changed files with 8 additions and 3 deletions

View File

@ -11,9 +11,14 @@ use crate::{
/// See [`crate::partial`] for more information. /// See [`crate::partial`] for more information.
#[derive(Clone, Debug, Default)] #[derive(Clone, Debug, Default)]
pub struct PartialCurve { pub struct PartialCurve {
path: Option<SurfacePath>, /// The path that defines the [`Curve`]
surface: Option<Handle<Surface>>, pub path: Option<SurfacePath>,
global_form: Option<MaybePartial<GlobalCurve>>,
/// The surface that the [`Curve`] is defined in
pub surface: Option<Handle<Surface>>,
/// The global form of the [`Curve`]
pub global_form: Option<MaybePartial<GlobalCurve>>,
} }
impl PartialCurve { impl PartialCurve {