mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 10:28:27 +00:00
Inline redundant variable
This commit is contained in:
parent
961b72ee5d
commit
351a61cd7c
@ -86,11 +86,9 @@ impl SurfaceGeom {
|
||||
Triangle::from(triangle_points_in_global_space)
|
||||
}
|
||||
Path::Line(line) => {
|
||||
let b = self.v;
|
||||
|
||||
let point_global = line.origin()
|
||||
+ line.direction() * point_surface.u
|
||||
+ b * point_surface.v;
|
||||
+ self.v * point_surface.v;
|
||||
|
||||
// We don't need to approximate a plane, so our triangle can be
|
||||
// arbitrarily large or small. Here we choose the smallest
|
||||
|
Loading…
Reference in New Issue
Block a user