Compare commits
1 Commits
md-compare
...
test-fail
| Author | SHA1 | Date | |
|---|---|---|---|
|
ddfeca41e9
|
@@ -870,13 +870,6 @@ mod test{
|
||||
fn test_cube_points(){
|
||||
let mesh=PhysicsMesh::unit_cube();
|
||||
let mesh_view=mesh.complete_mesh_view();
|
||||
for x in -2..=2{
|
||||
for y in -2..=2{
|
||||
for z in -2..=2{
|
||||
let point=vec3::int(x,y,z)>>1;
|
||||
assert!(mesh_contains_point(mesh_view,point),"Mesh did not contain point {point}");
|
||||
}
|
||||
}
|
||||
}
|
||||
assert!(mesh_contains_point(mesh_view,vec3::NEG_Z));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user