Specify is volume is too small or negative in mesh error messages. Fixes #799.
PiperOrigin-RevId: 525151156 Change-Id: Ia0e9d8b900b8c372e9229da934a4eb7aeb1a3b7a
This commit is contained in:
committed by
Copybara-Service
parent
d7ec409eb6
commit
94c4f72907
@@ -511,7 +511,7 @@ class mjCMesh: public mjCBase {
|
||||
// mesh properties that indicate a well-formed mesh
|
||||
std::pair<int, int> invalidorientation; // indices of invalid edge; -1 if none
|
||||
bool validarea; // false if the area is too small
|
||||
bool validvolume; // false if the volume is too small
|
||||
int validvolume; // 0: volume is too small, -1: volume is negative
|
||||
bool valideigenvalue; // false if inertia eigenvalue is too small
|
||||
bool validinequality; // false if inertia inequality is not satisfied
|
||||
bool processed; // false if the mesh has not been processed yet
|
||||
|
||||
Reference in New Issue
Block a user