Skip to content

Commit

Permalink
Merge pull request #106 from hannobraun/docs
Browse files Browse the repository at this point in the history
Make improvements to documentation of `fj` crate
  • Loading branch information
hannobraun authored Jan 28, 2022
2 parents 331da98 + 09aaf91 commit a61b1d7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion fj/src/shape_3d.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ impl From<Shape3d> for Shape {
/// # Limitations
///
/// This operation is not supported right now. Using it in a model, will result
/// in the host application to crash.
/// in the host application crashing.
///
/// See issue:
/// https://github.com/hannobraun/Fornjot/issues/43
#[derive(Clone, Debug)]
#[repr(C)]
pub struct Difference {
Expand Down Expand Up @@ -57,6 +60,9 @@ impl From<Difference> for Shape3d {
///
/// Transformations are currently limited to a rotation, followed by a
/// translation.
///
/// See issue:
/// https://github.com/hannobraun/Fornjot/issues/101
#[derive(Clone, Debug)]
#[repr(C)]
pub struct Transform {
Expand Down Expand Up @@ -119,6 +125,9 @@ impl From<Sweep> for Shape3d {
/// This means, for example, that generating the triangle mesh of the union does
/// not result in a proper triangle mesh, but rather the two, possibly
/// intersecting, triangle meshes of the original shapes.
///
/// See issue:
/// https://github.com/hannobraun/Fornjot/issues/42
#[derive(Clone, Debug)]
#[repr(C)]
pub struct Union {
Expand Down

0 comments on commit a61b1d7

Please sign in to comment.