a bug
This commit is contained in:
parent
cb12fd9338
commit
27ac930e14
@ -142,7 +142,7 @@ fn planes_to_faces(face_list:std::collections::HashSet<Face>)->Result<Faces,Plan
|
|||||||
face.push(intersection.divide().fix_1());
|
face.push(intersection.divide().fix_1());
|
||||||
|
|
||||||
// the measure
|
// the measure
|
||||||
let edge_dir=face0.normal.cross(face1.normal);
|
let edge_dir=face0.normal.cross(face2.normal);
|
||||||
|
|
||||||
// the dot product to beat
|
// the dot product to beat
|
||||||
let d_intersection=edge_dir.dot(intersection.num)/intersection.den;
|
let d_intersection=edge_dir.dot(intersection.num)/intersection.den;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user