mirror of
https://github.com/hannobraun/Fornjot
synced 2025-10-02 14:08:11 +00:00
Remove redundant struct field
This commit is contained in:
parent
7079b28538
commit
9d2e1d8831
@ -34,7 +34,7 @@ impl CurveGeom {
|
|||||||
surface: Handle<Surface>,
|
surface: Handle<Surface>,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
let mut definitions = BTreeMap::new();
|
let mut definitions = BTreeMap::new();
|
||||||
definitions.insert(surface.clone(), LocalCurveGeom { path, surface });
|
definitions.insert(surface.clone(), LocalCurveGeom { path });
|
||||||
|
|
||||||
Self { definitions }
|
Self { definitions }
|
||||||
}
|
}
|
||||||
@ -45,7 +45,4 @@ impl CurveGeom {
|
|||||||
pub struct LocalCurveGeom {
|
pub struct LocalCurveGeom {
|
||||||
/// The path that defines the curve on its surface
|
/// The path that defines the curve on its surface
|
||||||
pub path: SurfacePath,
|
pub path: SurfacePath,
|
||||||
|
|
||||||
/// The surface that the curve is defined on
|
|
||||||
pub surface: Handle<Surface>,
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user