Initial (unoptimized) implementation of EPA.
PiperOrigin-RevId: 659938320 Change-Id: I72c6c6bd7504bce36e4788d90b06b2cb3849b4db
This commit is contained in:
committed by
Copybara-Service
parent
9db9df7380
commit
a1d9b47e2f
@@ -34,6 +34,9 @@ typedef struct _mjCCDConfig mjCCDConfig;
|
||||
// recoverable from x_0 in obj1 and obj2.
|
||||
MJAPI mjtNum mj_gjk(const mjCCDConfig* config, mjCCDObj* obj1, mjCCDObj* obj2);
|
||||
|
||||
// Same as mj_gjk, but returns the penetration depth (negative distance) if the objects intersect.
|
||||
MJAPI mjtNum mj_gjkPenetration(const mjCCDConfig* config, mjCCDObj* obj1, mjCCDObj* obj2);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user