Update documentation of Model

This commit is contained in:
Hanno Braun 2023-06-06 12:33:50 +02:00
parent d6d657d401
commit 1b79f95739

View File

@ -1,15 +1,15 @@
//! A processed shape //! An approximated model
use fj_math::{Aabb, Point}; use fj_math::{Aabb, Point};
use crate::mesh::Mesh; use crate::mesh::Mesh;
/// A processed shape /// An approximated model
#[derive(Clone, Debug)] #[derive(Clone, Debug)]
pub struct Model { pub struct Model {
/// The axis-aligned bounding box of the shape /// The axis-aligned bounding box of the model
pub aabb: Aabb<3>, pub aabb: Aabb<3>,
/// The triangle mesh that approximates the original shape /// The triangle mesh that approximates the model
pub mesh: Mesh<Point<3>>, pub mesh: Mesh<Point<3>>,
} }