mirror of
https://github.com/hannobraun/Fornjot
synced 2025-03-02 02:55:52 +00:00
Rename argument
This commit is contained in:
parent
bdbed13583
commit
dc9ce193f8
@ -25,10 +25,10 @@ impl Planes {
|
|||||||
///
|
///
|
||||||
/// Create one instance of this struct, then share it everywhere it's
|
/// Create one instance of this struct, then share it everywhere it's
|
||||||
/// needed.
|
/// needed.
|
||||||
pub fn new(stores: &Objects) -> Self {
|
pub fn new(objects: &Objects) -> Self {
|
||||||
let xy = stores.surfaces.insert(Surface::xy_plane());
|
let xy = objects.surfaces.insert(Surface::xy_plane());
|
||||||
let xz = stores.surfaces.insert(Surface::xz_plane());
|
let xz = objects.surfaces.insert(Surface::xz_plane());
|
||||||
let yz = stores.surfaces.insert(Surface::yz_plane());
|
let yz = objects.surfaces.insert(Surface::yz_plane());
|
||||||
|
|
||||||
Self { xy, xz, yz }
|
Self { xy, xz, yz }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user