Convert user_api header and user_init source files to valid C code.
PiperOrigin-RevId: 629691192 Change-Id: I9be78aca27ae584fff0b733e9015b2bb3b927ca4
This commit is contained in:
committed by
Copybara-Service
parent
8d1f65c01a
commit
1b70907060
@@ -3394,7 +3394,7 @@ void mjXReader::Body(XMLElement* section, mjsBody* pbody, mjsFrame* frame) {
|
||||
|
||||
// store rotation difference
|
||||
mjsOrientation alt;
|
||||
mjs_defaultOrientation(alt);
|
||||
mjs_defaultOrientation(&alt);
|
||||
alt.type = mjORIENTATION_EULER;
|
||||
mjuu_copyvec(alt.euler, euler, 3);
|
||||
double rotation[4] = {1, 0, 0, 0};
|
||||
|
||||
Reference in New Issue
Block a user