mirror of
https://github.com/hannobraun/Fornjot
synced 2025-10-14 20:08:11 +00:00
Remove placeholder code
This commit is contained in:
parent
e42991a3cd
commit
31ce7fee2f
@ -1,2 +1 @@
|
|||||||
pub mod render_projected_face;
|
|
||||||
pub mod triangulate;
|
pub mod triangulate;
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
//! # Render projected faces
|
|
||||||
//!
|
|
||||||
//! ## Implementation Note
|
|
||||||
//!
|
|
||||||
//! This should ideally be integrated with `fj-viewer`, which could offer a
|
|
||||||
//! separate mode for displaying 2D objects. But getting an initial
|
|
||||||
//! implementation going was much easier with [`plotters`].
|
|
||||||
|
|
||||||
use super::triangulate::ProjectedFace;
|
|
||||||
|
|
||||||
pub fn render(_: &ProjectedFace) {
|
|
||||||
// Not implemented yet.
|
|
||||||
}
|
|
@ -3,7 +3,7 @@ use fj_math::Vector;
|
|||||||
use fj_viewer::Viewer;
|
use fj_viewer::Viewer;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
extra::{render_projected_face, triangulate::ProjectedFace},
|
extra::triangulate::ProjectedFace,
|
||||||
geometry::{FloatingCurve, Line, Sketch, SweptCurve, ToTriMesh},
|
geometry::{FloatingCurve, Line, Sketch, SweptCurve, ToTriMesh},
|
||||||
handle::Handle,
|
handle::Handle,
|
||||||
operations::sweep::SweepExt,
|
operations::sweep::SweepExt,
|
||||||
@ -43,7 +43,6 @@ pub fn model(viewer: &Viewer) -> TriMesh {
|
|||||||
Handle::new(face)
|
Handle::new(face)
|
||||||
};
|
};
|
||||||
|
|
||||||
render_projected_face::render(&ProjectedFace::new(&top, tolerance));
|
|
||||||
viewer.display_face(
|
viewer.display_face(
|
||||||
ProjectedFace::new(&top, tolerance)
|
ProjectedFace::new(&top, tolerance)
|
||||||
.points
|
.points
|
||||||
|
Loading…
x
Reference in New Issue
Block a user