mirror of
https://github.com/hannobraun/Fornjot
synced 2025-08-12 12:16:05 +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
|
/// An approximated model
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
pub struct Model {
|
pub struct Model {
|
||||||
/// The axis-aligned bounding box of the model
|
|
||||||
pub aabb: Aabb<3>,
|
|
||||||
|
|
||||||
/// 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>,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user