Convert user_api header and user_init source files to valid C code.

PiperOrigin-RevId: 629691192
Change-Id: I9be78aca27ae584fff0b733e9015b2bb3b927ca4
This commit is contained in:
Yuval Tassa
2024-05-01 04:51:54 -07:00
committed by Copybara-Service
parent 8d1f65c01a
commit 1b70907060
13 changed files with 478 additions and 501 deletions
-4
View File
@@ -33,10 +33,6 @@ using std::string;
using std::numeric_limits;
// set value of NAN here; needs <limits>
const double mjNAN = numeric_limits<double>::quiet_NaN();
// check if numeric variable is defined
bool mjuu_defined(const double num) {
return !isnan(num);