mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-11 13:28:28 +00:00
Remove redundant struct field
This commit is contained in:
parent
42d712812e
commit
9072dbda7c
@ -1,4 +1,4 @@
|
|||||||
use fj_math::{Aabb, Point};
|
use fj_math::Point;
|
||||||
|
|
||||||
use crate::mesh::Mesh;
|
use crate::mesh::Mesh;
|
||||||
|
|
||||||
@ -7,7 +7,4 @@ use crate::mesh::Mesh;
|
|||||||
pub struct Model {
|
pub struct Model {
|
||||||
/// The triangle mesh that approximates the model
|
/// The triangle mesh that approximates the model
|
||||||
pub mesh: Mesh<Point<3>>,
|
pub mesh: Mesh<Point<3>>,
|
||||||
|
|
||||||
/// The axis-aligned bounding box of the model
|
|
||||||
pub aabb: Aabb<3>,
|
|
||||||
}
|
}
|
||||||
|
@ -88,7 +88,7 @@ impl Instance {
|
|||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|
||||||
let model = Model { mesh, aabb };
|
let model = Model { mesh };
|
||||||
|
|
||||||
crate::viewer::display(model, false)?;
|
crate::viewer::display(model, false)?;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user