Fix non-unit normals in mesh convex hull compiler.
PiperOrigin-RevId: 928777934 Change-Id: I43d7adcf4c5781b57f0af9805a8ce01ebc2e3872
This commit is contained in:
committed by
Copybara-Service
parent
ae2e8aa940
commit
986d73c062
@@ -379,6 +379,7 @@ template<typename T> double mjuu_makenormal(double* normal, const T a[3],
|
||||
normal[0] = 1;
|
||||
normal[1] = 0;
|
||||
normal[2] = 0;
|
||||
return 1;
|
||||
}
|
||||
normal[0] /= nrm;
|
||||
normal[1] /= nrm;
|
||||
|
||||
Reference in New Issue
Block a user