names
This commit is contained in:
@@ -435,9 +435,9 @@ pub struct Details{
|
||||
// q_norm:Planar64Vec3,
|
||||
}
|
||||
|
||||
pub fn point_in_mesh(mesh:&MinkowskiMesh,rel_pos:Planar64Vec3)->bool{
|
||||
pub fn contains_point(mesh:&MinkowskiMesh,point:Planar64Vec3)->bool{
|
||||
const ENABLE_FAST_FAIL:bool=true;
|
||||
minimum_difference::<ENABLE_FAST_FAIL,_>(mesh,rel_pos,
|
||||
minimum_difference::<ENABLE_FAST_FAIL,_>(mesh,point,
|
||||
// expanded
|
||||
|_simplex|{
|
||||
// local norm = direction.unit
|
||||
@@ -455,9 +455,9 @@ pub fn point_in_mesh(mesh:&MinkowskiMesh,rel_pos:Planar64Vec3)->bool{
|
||||
false
|
||||
)
|
||||
}
|
||||
pub fn get_closest_fev(mesh:&MinkowskiMesh,rel_pos:Planar64Vec3)->Topology{
|
||||
pub fn closest_fev(mesh:&MinkowskiMesh,point:Planar64Vec3)->Topology{
|
||||
const ENABLE_FAST_FAIL:bool=false;
|
||||
minimum_difference::<ENABLE_FAST_FAIL,_>(mesh,rel_pos,
|
||||
minimum_difference::<ENABLE_FAST_FAIL,_>(mesh,point,
|
||||
// expanded
|
||||
|_simplex|{
|
||||
// NOTE: if hits is true, this if statement necessarily evaluates to true.
|
||||
|
||||
Reference in New Issue
Block a user