mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-09 12:28:29 +00:00
Simplify
This commit is contained in:
parent
e07825c790
commit
0b5c3c3461
@ -50,7 +50,7 @@ pub trait BuildSurface {
|
||||
) -> (Handle<Surface>, [Point<2>; 3]) {
|
||||
let [a, b, c] = points.map(Into::into);
|
||||
|
||||
let (u, u_line) = Path::<3>::line_from_points([a, b]);
|
||||
let (u, u_line) = Path::line_from_points([a, b]);
|
||||
let v = c - a;
|
||||
|
||||
let surface = Surface::from_uv(u, v, core);
|
||||
|
Loading…
Reference in New Issue
Block a user