mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-18 22:26:09 +00:00
Update order of struct fields
The mesh is much more integral to the model than the AABB, so it makes sense to list it first.
This commit is contained in:
parent
b94ed8a3ef
commit
5b8c3a18ae
@ -7,9 +7,9 @@ use crate::mesh::Mesh;
|
||||
/// An approximated model
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Model {
|
||||
/// The axis-aligned bounding box of the model
|
||||
pub aabb: Aabb<3>,
|
||||
|
||||
/// The triangle mesh that approximates the model
|
||||
pub mesh: Mesh<Point<3>>,
|
||||
|
||||
/// The axis-aligned bounding box of the model
|
||||
pub aabb: Aabb<3>,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user