diff --git a/lib/bsp_loader/src/brush.rs b/lib/bsp_loader/src/brush.rs index ac7e85d..8d9e65b 100644 --- a/lib/bsp_loader/src/brush.rs +++ b/lib/bsp_loader/src/brush.rs @@ -142,7 +142,7 @@ fn planes_to_faces(face_list:std::collections::HashSet<Face>)->Result<Faces,Plan face.push(intersection.divide().fix_1()); // the measure - let edge_dir=face0.normal.cross(face1.normal); + let edge_dir=face0.normal.cross(face2.normal); // the dot product to beat let d_intersection=edge_dir.dot(intersection.num)/intersection.den;