This commit is contained in:
Quaternions 2023-11-15 21:21:00 -08:00
parent 33972b0c2c
commit 2370fbea54

View File

@ -29,6 +29,8 @@ enum Transition<F,E,V>{
} }
//test each edge collision time, ignoring roots with zero or conflicting derivative //test each edge collision time, ignoring roots with zero or conflicting derivative
for &edge_id in mesh.face_edges(face_id).iter(){ for &edge_id in mesh.face_edges(face_id).iter(){
//this needs to be directed edge!
todo!();
let edge_n=mesh.edge_n(edge_id); let edge_n=mesh.edge_n(edge_id);
let n=n.cross(edge_n); let n=n.cross(edge_n);
//picking a vert randomly is terrible //picking a vert randomly is terrible