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.
#[derive(Clone, Debug, Default)]
pub struct PartialCurve {
path: Option<SurfacePath>,
surface: Option<Handle<Surface>>,
global_form: Option<MaybePartial<GlobalCurve>>,
/// The path that defines the [`Curve`]
pub path: Option<SurfacePath>,
/// 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 {